Revert "mpegvideoparse: set timestamp based on pic offset"
authorTim-Philipp Müller <tim@centricular.net>
Tue, 12 Feb 2013 09:38:35 +0000 (09:38 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 12 Feb 2013 09:38:35 +0000 (09:38 +0000)
This reverts commit 63718da919b6a3daa04a66da1be4db54e0778898.

The required baseparse API addition has not been pushed yet,
which breaks the build.

configure.ac
gst/videoparsers/gstmpegvideoparse.c

index 5b64eab..1e8da9c 100644 (file)
@@ -51,7 +51,7 @@ dnl sets GST_LT_LDFLAGS
 AS_LIBTOOL(GST, 2, 0, 2)
 
 dnl *** required versions of GStreamer stuff ***
-GST_REQ=1.1.0.1
+GST_REQ=1.1.0
 GSTPB_REQ=1.1.0
 
 dnl *** autotools stuff ****
index 2c2cfb2..a12e72d 100644 (file)
@@ -783,10 +783,6 @@ gst_mpegv_parse_parse_frame (GstBaseParse * parse, GstBaseParseFrame * frame)
     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
       && GST_CLOCK_TIME_IS_VALID (GST_BUFFER_DURATION (buffer))) {
     GST_BUFFER_DURATION (buffer) =