Skip to content
Snippets Groups Projects
Commit 22c032c6 authored by Frediano Ziglio's avatar Frediano Ziglio
Browse files

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: default avatarFrediano Ziglio <freddy77@gmail.com>
parent c01fa619
No related merge requests found
Pipeline #1023194 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment