diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2013-02-12 09:38:35 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-02-12 09:38:35 +0000 |
commit | aedc1369268f7d2cac5893de2e15101ff1029e6b (patch) | |
tree | 0e998b6b11d93bb93754af24f6835c455e697bdb | |
parent | 743098fe8c60adbcf73d91bef90feb73e77dc206 (diff) |
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.
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | gst/videoparsers/gstmpegvideoparse.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 5b64eab70..1e8da9cb3 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 2c2cfb29b..a12e72dd0 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) = |