mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
videodecoder: playback rate is in input_segment
The playback rate is hold in the input_segment member variable, not in the output_segment, and the parse_gather list was never filled because of that. This patch changes the comparison with input_segment.
This commit is contained in:
parent
0bd3f2352c
commit
779e739142
1 changed files with 1 additions and 1 deletions
|
@ -3383,7 +3383,7 @@ gst_video_decoder_have_frame (GstVideoDecoder * decoder)
|
|||
GST_TIME_ARGS (duration));
|
||||
|
||||
/* In reverse playback, just capture and queue frames for later processing */
|
||||
if (decoder->output_segment.rate < 0.0) {
|
||||
if (decoder->input_segment.rate < 0.0) {
|
||||
priv->parse_gather =
|
||||
g_list_prepend (priv->parse_gather, priv->current_frame);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue