mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
jpegdec: All frames are sync points
This commit is contained in:
parent
5eb4901a8c
commit
94bfdc7a56
1 changed files with 2 additions and 0 deletions
|
@ -296,6 +296,8 @@ gst_jpeg_dec_parse (GstVideoDecoder * bdec, GstVideoCodecFrame * frame,
|
||||||
gint offset = 0, noffset;
|
gint offset = 0, noffset;
|
||||||
GstJpegDec *dec = (GstJpegDec *) bdec;
|
GstJpegDec *dec = (GstJpegDec *) bdec;
|
||||||
|
|
||||||
|
GST_VIDEO_CODEC_FRAME_SET_SYNC_POINT (frame);
|
||||||
|
|
||||||
/* FIXME : The overhead of using scan_uint32 is massive */
|
/* FIXME : The overhead of using scan_uint32 is massive */
|
||||||
|
|
||||||
size = gst_adapter_available (adapter);
|
size = gst_adapter_available (adapter);
|
||||||
|
|
Loading…
Reference in a new issue