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:
Wim Taymans 2007-10-30 12:27:32 +00:00
parent 2b5d45e3f6
commit 5bfb6579b8
2 changed files with 7 additions and 6 deletions

View file

@ -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:

View file

@ -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;
}