va: Do not use a common parent_class in vabasedec.
We have only one copy of gst_va_base_dec_parent_class inside the vabasedec, so it can not handle the case when there are multi va decoders inside one pipeline. The pipeline:
gst-launch-1.0 filesrc location=xxx.h264 ! h264parse
! vah264dec ! msdkh265enc ! vah265dec ! fakesink
generates a assertion of
"invalid cast from 'GstVaH264Dec' to 'GstH265Decoder"
and gets a crash.
We should keep the parent_class for each decoder type.
Merge request reports
Activity
- Resolved by He Junyan
Can you share the backtrace?
This solution doesn't seem the correct to me.
Edited by Víctor Manuel Jáquez Leal
added 1 commit
- 46f68e87 - va: Do not use a common parent_class in vabasedec.
- Resolved by He Junyan
added 1 commit
- a249d2f6 - va: Do not use a common parent_class in vabasedec.
assigned to @gstreamer-merge-bot
mentioned in commit He_Junyan/gst-plugins-bad@64b59610
added 1 commit
- 64b59610 - va: Do not use a common parent_class in vabasedec.
changed milestone to %1.19.1