All pastes #45934 Raw Edit

Stuff

public text v1 · immutable
#45934 ·published 2006-03-16 17:09 UTC
rendered paste body

    srcbin = gst_bin_new("srcbin"); 
    filesrc = gst_element_factory_make("filesrc", "filesrc");     g_object_set(G_OBJECT(filesrc), "location", "/home/caugier/test.wav", NULL);
    gst_bin_add(GST_BIN(srcbin), filesrc);

    wavparse = gst_element_factory_make("wavparse", "wavparse");     gst_bin_add(GST_BIN(srcbin), wavparse);
    gst_element_link(filesrc, wavparse);
      queue = gst_element_factory_make(" queue", "qu");
    gst_bin_add(GST_BIN(srcbin),  queue);     gst_element_link(wavparse,  queue);
     identity = gst_element_factory_make("identity", "idsync");
    g_object_set(G_OBJECT(identity), "sync", TRUE, NULL);     gst_bin_add(GST_BIN(srcbin), identity);
    gst_element_link(queue, identity); 
    srcpad = gst_ghost_pad_new("src", gst_element_get_pad (identity, "src")); 
    //srcpad = gst_ghost_pad_new("src", gst_element_get_pad (queue, "src"));     gst_element_add_pad (srcbin, srcpad);



DEBUG (0x8108a00 - 0:00:01.058069000)             GST_PADS(26284) gstpad.c(561):pre_activate:<'':src> setting ACTIVATE_MODE 1, unset flushing
DEBUG (0x8108a00 - 0:00:01.058203000)             GST_PADS(26284) gstpad.c(808):gst_pad_activate_push:<'':src> activated in push mode
DEBUG (0x8108a00 - 0:00:01.058354000)             wavparse(26284) gstwavparse.c(909):gst_wavparse_stream_headers: frequency 8000, channels 1
DEBUG (0x8108a00 - 0:00:01.058487000)             wavparse(26284) gstwavparse.c(931):gst_wavparse_stream_headers: Got 'data' TAG, size : 3047040
DEBUG (0x8108a00 - 0:00:01.058620000)             wavparse(26284) gstwavparse.c(946):gst_wavparse_stream_headers: Finished parsing headers
DEBUG (0x8108a00 - 0:00:01.058761000)             wavparse(26284) gstwavparse.c(1019):gst_wavparse_stream_data: offset : 44 , end : 3047084
DEBUG (0x8108a00 - 0:00:01.067408000)             wavparse(26284) gstwavparse.c(1029):gst_wavparse_stream_data: Fetching 4096 bytes of data from the sinkpad.
DEBUG (0x8108a00 - 0:00:01.067557000)             wavparse(26284) gstwavparse.c(1061):gst_wavparse_stream_data: Got buffer. timestamp:0:00:00.000000000 , duration:0:00:00.256000000, size:4096
DEBUG (0x8108a00 - 0:00:01.067708000)             wavparse(26284) gstwavparse.c(1101):gst_wavparse_stream_data: Error pushing on srcpad
LOG   (0x8108a00 - 0:00:01.067829000)             wavparse(26284) gstwavparse.c(1137):gst_wavparse_loop:<wavparse> pausing task -1