QGstPipelineptr to QGstBin

gonengoktug gonengoktug at gmail.com
Fri Jan 24 07:12:33 UTC 2020


I can't even get a sample by debugging with the simple lines of code. When I
look into sample variable I see 0x00 and doesn't change. Do you have any
idea?

pipeline=gst_pipeline_new("new_pipeline");
    sink=gst_element_factory_make("appsink","app_sink");
    gst_bin_add(GST_BIN(pipeline),sink);
    gst_parse_launch("playbin uri=file:///GStreamerFirst/hunter.webm",NULL);
    g_signal_emit_by_name(sink,"pull-sample",&sample,NULL);
    caps=gst_sample_get_caps(sample);



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list