jpegdec: By default assume that we're working on non-packetized input

Only detecting this in set_format() does not work because we might
not get any caps at all, e.g. from filesrc.
This commit is contained in:
Sebastian Dröge 2013-05-07 16:32:03 +02:00
parent 0392a0dc3d
commit 8ca4a47cdc

View file

@ -1406,6 +1406,8 @@ gst_jpeg_dec_start (GstVideoDecoder * bdec)
dec->parse_entropy_len = 0;
dec->parse_resync = FALSE;
gst_video_decoder_set_packetized (dec, FALSE);
return TRUE;
}