Commit b0ae357c authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #11687 from alalek:gstreamer_write_pipeline

parents 95f948a9 277e9279
......@@ -1657,6 +1657,8 @@ bool CvVideoWriter_GStreamer::open( const char * filename, int fourcc,
}
#endif
GST_DEBUG_BIN_TO_DOT_FILE(GST_BIN(pipeline), GST_DEBUG_GRAPH_SHOW_ALL, "write-pipeline");
stateret = gst_element_set_state(GST_ELEMENT(pipeline), GST_STATE_PLAYING);
if(stateret == GST_STATE_CHANGE_FAILURE) {
handleMessage(pipeline);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment