mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
gst/mpegaudioparse/gstmpegaudioparse.c: Remove some more broken code, it seems to clip even when it should not.
Original commit message from CVS: * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_emit_frame): Remove some more broken code, it seems to clip even when it should not. See #491305.
This commit is contained in:
parent
2b5d45e3f6
commit
5bfb6579b8
2 changed files with 7 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-10-30 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
* gst/mpegaudioparse/gstmpegaudioparse.c:
|
||||
(gst_mp3parse_emit_frame):
|
||||
Remove some more broken code, it seems to clip even when it should not.
|
||||
See #491305.
|
||||
|
||||
2007-10-30 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
* gst/mpegaudioparse/gstmpegaudioparse.c:
|
||||
|
|
|
@ -624,12 +624,6 @@ gst_mp3parse_emit_frame (GstMPEGAudioParse * mp3parse, guint size)
|
|||
ret = gst_pad_push (mp3parse->srcpad, outbuf);
|
||||
}
|
||||
|
||||
/* return unexpected when we run off the end of the segment */
|
||||
if (GST_CLOCK_TIME_IS_VALID (mp3parse->segment.stop)
|
||||
&& mp3parse->next_ts >= mp3parse->segment.stop) {
|
||||
GST_DEBUG_OBJECT (mp3parse, "returning unexpected");
|
||||
ret = GST_FLOW_UNEXPECTED;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue