Skip to content
Snippets Groups Projects
Commit 581ca654 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>
Acked-by: default avatarVivek Kasireddy <vivek.kasireddy@intel.com>
parent d29a0a04
No related branches found
No related tags found
Loading
Checking pipeline status
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