mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
jpegdec: Remove unused variable and use correct decoder variable name
This commit is contained in:
parent
f489beb7c5
commit
90ccd8212a
1 changed files with 1 additions and 2 deletions
|
@ -593,9 +593,8 @@ static gboolean
|
|||
gst_jpeg_dec_set_format (GstVideoDecoder * dec, GstVideoCodecState * state)
|
||||
{
|
||||
GstJpegDec *jpeg = GST_JPEG_DEC (dec);
|
||||
GstVideoInfo *info = &state->info;
|
||||
|
||||
if (decoder->input_segment.format == GST_FORMAT_TIME)
|
||||
if (dec->input_segment.format == GST_FORMAT_TIME)
|
||||
gst_video_decoder_set_packetized (dec, TRUE);
|
||||
else
|
||||
gst_video_decoder_set_packetized (dec, FALSE);
|
||||
|
|
Loading…
Reference in a new issue