Subject: pkg/32746: mplayer: debugging message is printed unconditionally
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <svs+pr@grep.ru>
List: pkgsrc-bugs
Date: 02/05/2006 13:30:00
>Number:         32746
>Category:       pkg
>Synopsis:       mplayer: debugging message is printed unconditionally
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 05 13:30:00 +0000 2006
>Originator:     Sergey Svishchev
>Release:        
>Organization:
>Environment:
>Description:
The message "dvdsublang..." is printed multiple times on startup when a movie with external subtitles (or a DVD with subtitles) is played.  Harmless, but annoying.
>How-To-Repeat:

>Fix:
--- subreader.c.orig	2004-04-06 15:52:31.000000000 +0400
+++ subreader.c
@@ -1806,7 +1806,6 @@ char** sub_filenames(char* path, char *f
 		    if (!prio && tmp_sub_id)
 		    {
 			sprintf(tmpresult, "%s %s", f_fname_trim, tmp_sub_id);
-			printf("dvdsublang...%s\n", tmpresult);
 			if (strcmp(tmp_fname_trim, tmpresult) == 0 && sub_match_fuzziness >= 1) {
 			    // matches the movie name + lang extension
 			    prio = 5;