Tutorial #3 - link failing to the video element (Ubuntu 16.04)
Hello, I am trying to add the video element to the tutorial - I have made the following changes:
- Added video sink and video converter fields to the CustomData struct.
- Added these elements to the pipeline.
- Made a link between them.
- In pad_added_handler I have checked if the new pad is 'video/x-raw', if so I am getting the static sink pad of the video converter.
When running, I am getting the next error:
Type is 'video/x-raw' but link failed.
Is there a solution for this assignment so I can find my error? Thanks.
The source is attached.basic-tutorial-3.c