From aedc1369268f7d2cac5893de2e15101ff1029e6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 12 Feb 2013 09:38:35 +0000 Subject: [PATCH] Revert "mpegvideoparse: set timestamp based on pic offset" This reverts commit 63718da919b6a3daa04a66da1be4db54e0778898. The required baseparse API addition has not been pushed yet, which breaks the build. --- configure.ac | 2 +- gst/videoparsers/gstmpegvideoparse.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 5b64eab70c..1e8da9cb3d 100644 --- a/configure.ac +++ b/configure.ac @@ -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 **** diff --git a/gst/videoparsers/gstmpegvideoparse.c b/gst/videoparsers/gstmpegvideoparse.c index 2c2cfb29bf..a12e72dd0b 100644 --- a/gst/videoparsers/gstmpegvideoparse.c +++ b/gst/videoparsers/gstmpegvideoparse.c @@ -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) =