Addresses #9.
Additionally, auto-detects if pipeline contains sources that are live instead of relying on argument
Custom pipelines are specified as string instead of gst::Pipeline only because creating gst objects requires running gst::init() beforehand. This leads to possible runtime errors instead of compile time, but I feel like that's a reasonable compromise, feel free to disagree.
Also, I made error handling optional and left panicking as a fallback. I'm not sure how I feel about that, maybe it should be required.
Addresses #9. Additionally, auto-detects if pipeline contains sources that are live instead of relying on argument
Custom pipelines are specified as string instead of gst::Pipeline only because creating gst objects requires running gst::init() beforehand. This leads to possible runtime errors instead of compile time, but I feel like that's a reasonable compromise, feel free to disagree.
Also, I made error handling optional and left panicking as a fallback. I'm not sure how I feel about that, maybe it should be required.