Newbie question on exercise for Tutorial#3

Geek-Gst vinod.kesti at mailinator.com
Thu Jan 24 11:50:23 UTC 2019


Wrong pad names are passed to retrieve the pad in pad_added callback.
audioconvert and videoconvert sink pad name is "sink". 

Change below from
  GstPad *audio_sink_pad = gst_element_get_static_pad (data->audio_convert,
"audio_sink");
  GstPad *video_sink_pad = gst_element_get_static_pad (data->video_convert,
"video_sink");

to 

 GstPad *audio_sink_pad = gst_element_get_static_pad (data->audio_convert,
"sink");
 GstPad *video_sink_pad = gst_element_get_static_pad (data->video_convert,
"sink");



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


More information about the gstreamer-devel mailing list