All pastes #374877 Raw Edit

Unnamed

public c v1 · immutable
#374877 ·published 2007-02-27 21:30 UTC
rendered paste body
static void    new_pad (GstElement *element,             GstPad     *pad,             gpointer    data){  GstPad *sinkpad;  /* We can now link this pad with the audio decoder */  g_print ("Dynamic pad created, linking parser/decoder\n");  sinkpad = gst_element_get_pad (conv, "sink");  gst_pad_link (pad, sinkpad);  gst_object_unref (sinkpad);}