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
@ -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…
x
Reference in New Issue
Block a user