diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-09-14 12:07:18 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-10-15 16:28:40 +0200 |
commit | de5375da814aa9ef181837c0fecbf947fc47ee36 (patch) | |
tree | 69246628fdc781068a2fc7ddf9ff1d6136fc5362 | |
parent | 290d6f61c580f7ce269b3447f190f325923d4028 (diff) |
Only set the SYNC_FRAME flag on the first buffer if we need to split the input
-rw-r--r-- | sys/androidmedia/gstamcvideodec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/androidmedia/gstamcvideodec.c b/sys/androidmedia/gstamcvideodec.c index 45f51b022..11a079383 100644 --- a/sys/androidmedia/gstamcvideodec.c +++ b/sys/androidmedia/gstamcvideodec.c @@ -1407,9 +1407,6 @@ gst_amc_video_dec_handle_frame (GstVideoDecoder * decoder, memcpy (buf->data, GST_BUFFER_DATA (frame->input_buffer) + offset, buffer_info.size); - if (GST_VIDEO_CODEC_FRAME_IS_SYNC_POINT (frame)) - buffer_info.flags |= BUFFER_FLAG_SYNC_FRAME; - /* Interpolate timestamps if we're passing the buffer * in multiple chunks */ if (offset != 0 && duration != GST_CLOCK_TIME_NONE) { |