gstreamer: Fallback to S/W decoder if H/W one is not working
In case the H/W decoder is not able to decode the stream (like too high
profile) try the S/W version.
This is done detecting the failure and trying to recreate the pipeline
in case:
- we are using a H/W pipeline;
- we didn't decode any frame (otherwise it means we lost the beginning
or it was not a problem of H/W decoder).
Signed-off-by:
Frediano Ziglio <freddy77@gmail.com>
Loading
Please register or sign in to comment