Jan Alexander Steffens (heftig)
9426eaae6a
videoparseutils: Don't double-attach AFD, Bar or unregistered data
...
We already did this for captions. We also need to do it for the other
meta types to ensure our parsers are idempotent and don't attach
duplicates.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5450 >
2024-02-15 13:32:30 +00:00
Jan Alexander Steffens (heftig)
92017b983e
videoparseutils: Store multiple user data unregistered messages
...
A frame can have multiple unregistered messages attached. We need to
store them all.
For: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3008
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5450 >
2024-02-15 13:32:30 +00:00
Jan Alexander Steffens (heftig)
75f61cba80
videoparsers: Clear user_data_unregistered explicitly in _reset_frame
...
This fits better with the model used by the parser elements. It also
properly resets the data when the parser is reset.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5450 >
2024-02-15 13:32:30 +00:00
Jan Alexander Steffens (heftig)
3577fdec51
videoparsers: Clear user data explicitly in _reset_frame
...
This fits better with the model used by the parser elements. It also
properly resets the data when the parser is reset.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5450 >
2024-02-15 13:32:30 +00:00
Jan Alexander Steffens (heftig)
b3c03cec8d
videoparseutils: Minor improvements to _parse_afd
...
- Add the missing field parameter and put the output parameter at the
end.
- Use a switch to verify valid values instead of hard-to-follow range
checks.
- Don't consider bad values a programming error, just a regular failure.
- Set all data fields at the end so we can pass a pointer to an
uninitialized structure without GCC complaining.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5450 >
2024-02-15 13:32:30 +00:00
Jan Alexander Steffens (heftig)
5c0cad5f02
videoparseutils: Minor improvements to _parse_bar
...
Use the enum type for the argument and loudly complain when not passing
a place to output.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5450 >
2024-02-15 13:32:30 +00:00
Andoni Morales Alastruey
77937f9398
videoparse: rename from _free to _clear
...
The function does not free the structure but the data
contained within.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1458 >
2022-06-03 08:29:05 +00:00
Andoni Morales Alastruey
ca2eb9f65f
h264parse: add support Precision Time Stamp in SEI messages
...
Expose User Data Unregistered as a new Meta and add
API to parse Precision Time Stamp (ST 0604).
Fixes #927
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1458 >
2022-06-03 08:29:05 +00:00
Thibault Saunier
019971a3c7
Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir
2021-09-24 16:14:36 -03:00