unable to play gstreamer in QWidget

rob_ewbank robewbank at gmail.com
Sat Feb 8 05:22:00 PST 2014

1. put gst_init in your main.cpp.

2. You definitely have a memory leak when pipeline goes out of scope, store
it as a member variable.

3. You should not create the widget in a function like you have. Make it in
the parent classes constructor.

When you create a widget, you must either add it to a layout or provide a
parent in its construction. If it is inside another widget or MainWindow,
pass "this" in as an argument.

View this message in context: http://gstreamer-devel.966125.n4.nabble.com/unable-to-play-gstreamer-in-QWidget-tp4665139p4665149.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

More information about the gstreamer-devel mailing list