diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2009-06-05 21:18:47 +0200 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-06-20 15:21:43 +0100 |
commit | 7c0e5b5c22e0556567978d13b2c00b9c758d3513 (patch) | |
tree | e0baf23f39bf0bb13551bab76b1d126984e9ca88 /sys | |
parent | c4276ae568934f5f14beab02199849f6aeb757ac (diff) | |
download | gst-plugins-bad-7c0e5b5c22e0556567978d13b2c00b9c758d3513.tar.gz gst-plugins-bad-7c0e5b5c22e0556567978d13b2c00b9c758d3513.tar.bz2 gst-plugins-bad-7c0e5b5c22e0556567978d13b2c00b9c758d3513.zip |
vdpaumpegdec: small cleanup
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vdpau/gstvdpmpegdecoder.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vdpau/gstvdpmpegdecoder.c b/sys/vdpau/gstvdpmpegdecoder.c index 53e99a5f..da4f63ec 100644 --- a/sys/vdpau/gstvdpmpegdecoder.c +++ b/sys/vdpau/gstvdpmpegdecoder.c @@ -301,8 +301,9 @@ gst_vdp_mpeg_decoder_push_video_buffer (GstVdpMpegDecoder * mpeg_dec, mpeg_dec->segment.stop, GST_BUFFER_TIMESTAMP (buffer)); gst_pad_push_event (mpeg_dec->src, event); + + mpeg_dec->seeking = FALSE; } - mpeg_dec->seeking = FALSE; mpeg_dec->next_timestamp = GST_BUFFER_TIMESTAMP (buffer) + GST_BUFFER_DURATION (buffer); |