Revert "mpegvideoparse: set timestamp based on pic offset"

This reverts commit 63718da919.

The required baseparse API addition has not been pushed yet,
which breaks the build.
This commit is contained in:
Tim-Philipp Müller 2013-02-12 09:38:35 +00:00
parent 743098fe8c
commit aedc136926
2 changed files with 1 additions and 5 deletions

View file

@ -51,7 +51,7 @@ dnl sets GST_LT_LDFLAGS
AS_LIBTOOL(GST, 2, 0, 2) AS_LIBTOOL(GST, 2, 0, 2)
dnl *** required versions of GStreamer stuff *** dnl *** required versions of GStreamer stuff ***
GST_REQ=1.1.0.1 GST_REQ=1.1.0
GSTPB_REQ=1.1.0 GSTPB_REQ=1.1.0
dnl *** autotools stuff **** dnl *** autotools stuff ****

View file

@ -783,10 +783,6 @@ gst_mpegv_parse_parse_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
GST_BUFFER_DURATION (buffer) = 0; GST_BUFFER_DURATION (buffer) = 0;
} }
if (mpvparse->pic_offset > 4) {
gst_base_parse_set_ts_at_offset (parse, mpvparse->pic_offset - 4);
}
if (mpvparse->frame_repeat_count if (mpvparse->frame_repeat_count
&& GST_CLOCK_TIME_IS_VALID (GST_BUFFER_DURATION (buffer))) { && GST_CLOCK_TIME_IS_VALID (GST_BUFFER_DURATION (buffer))) {
GST_BUFFER_DURATION (buffer) = GST_BUFFER_DURATION (buffer) =