codecs: set sys frame num before new_picture()
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 23 Apr 2020 10:00:15 +0000 (12:00 +0200)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Thu, 23 Apr 2020 19:54:17 +0000 (19:54 +0000)
commit23e99a7a77b19fa12251e35d4419d71886cee107
tree87b3a56cc52bd621d2d44a61b3eb26d9e93d1e47
parent0d637c14c5233ebbba7d11b988b69e935f00e82f
codecs: set sys frame num before new_picture()

Derive classes might need to operate on the current frame at their
new_picture() vmethod, so it would be needed to set system_frame_number
on picture before calling the vmethod.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1209>
gst-libs/gst/codecs/gsth264decoder.c
gst-libs/gst/codecs/gsth265decoder.c