After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 328336 - silence warings which make dvdec / dvdemux unusable
silence warings which make dvdec / dvdemux unusable
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: High normal
: 0.10.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-23 19:54 UTC by j^
Modified: 2006-01-27 12:21 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
here is a patch adding command to silence warings... (1.21 KB, patch)
2006-01-23 19:55 UTC, j^
needs-work Details | Review
patch with ChangeLog (1.94 KB, patch)
2006-01-24 13:46 UTC, j^
committed Details | Review

Description j^ 2006-01-23 19:54:01 UTC
Please describe the problem:
after speaking with ddennedy, about libdv printing out error to stderr
by default, he suggested to add dv_set_error_log (dv_decoder_t *dv, NULL);
in the gst plugin to make dv capture as usable as possible.
here is a link to the upstream bugtracker:
https://sourceforge.net/tracker/?func=detail&atid=104393&aid=1410072&group_id=4393

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 j^ 2006-01-23 19:55:00 UTC
Created attachment 57960 [details] [review]
here is a patch adding command to silence warings...
Comment 2 Andy Wingo 2006-01-24 10:44:52 UTC
j^: Can you make sure that that symbol is available? I.e. figure out at what version libdv started having that symbol, and then either require that version or (better) add an ifdef to run that line only if the version is new enough.

Also add a Changelog entry in your patch please :)

p.s. edit your bugzilla profile to put your real name :-)
Comment 3 j^ 2006-01-24 12:43:10 UTC
looking at the changelog in libdv this was 
introduced in version 0.98 (released 2002-07-30).

not sure if checking is needed at all. 
--snip < libdv/ChangeLog
2002-05-01  Stefan Lucke <Stefan.Lucke1@epost.de>
        * audio error correction:
            default error reporting is set to: stderr
              old_file = dv_set_error_log (de
--snip
Comment 4 j^ 2006-01-24 13:46:43 UTC
Created attachment 58017 [details] [review]
patch with ChangeLog
Comment 5 Andy Wingo 2006-01-27 12:21:09 UTC
2006-01-27  Jan Gerber  <j@bootlab.org>

	Reviewed by: Andy Wingo <wingo@pobox.com>

	* ext/dv/gstdvdec.c (gst_dvdec_change_state):
	* ext/dv/gstdvdemux.c (gst_dvdemux_change_state):
	Call dv_set_error_log (dv_decoder_t *, NULL); after dv_decoder_new
	to not have warings flooding stderr. this is the suggested way
	also used in dvgrab and kino. (#328336)