Autoplug h264parse and decoder plugin

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Autoplug h264parse and decoder plugin

ericcardmanNo3
How can we force autoplug (decodebin) to first plug h264parse and then h264decoder plugin?

filesrc ! h264parse ! h264dec ! ffmpegcolorspace ! ximagesink

When we make GST_RANK_PRIMARY for h264parse we get endless loop pluging them together.

What do you think is the best way to tell decodebin to first plug h264parse and then plug h264dec when filesrc is video/x-h264 ?

thank you!