mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
ext/dv/: Call dv_set_error_log (dv_decoder_t *, NULL); after dv_decoder_new to not have warings flooding stderr. this...
Original commit message from CVS: 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)
This commit is contained in:
parent
6b789d2dd1
commit
f45b92e3f0
3 changed files with 12 additions and 0 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
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)
|
||||
|
||||
2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* sys/oss/gstosssink.c: (gst_oss_sink_class_init),
|
||||
|
|
|
@ -332,6 +332,7 @@ gst_dvdec_change_state (GstElement * element, GstStateChange transition)
|
|||
dvdec->decoder =
|
||||
dv_decoder_new (0, dvdec->clamp_luma, dvdec->clamp_chroma);
|
||||
dvdec->decoder->quality = qualities[dvdec->quality];
|
||||
dv_set_error_log (dvdec->decoder, NULL);
|
||||
/*
|
||||
* Enable this function call when libdv2 0.100 or higher is more
|
||||
* common
|
||||
|
|
|
@ -1053,6 +1053,7 @@ gst_dvdemux_change_state (GstElement * element, GstStateChange transition)
|
|||
break;
|
||||
case GST_STATE_CHANGE_READY_TO_PAUSED:
|
||||
dvdemux->decoder = dv_decoder_new (0, FALSE, FALSE);
|
||||
dv_set_error_log (dvdemux->decoder, NULL);
|
||||
dvdemux->audio_offset = 0;
|
||||
dvdemux->video_offset = 0;
|
||||
dvdemux->framecount = 0;
|
||||
|
|
Loading…
Reference in a new issue