Displaying 3 results from an estimated 3 matches for "srcpad".
Did you mean:
src_id
2007 Oct 26
0
6 commits - configure.ac libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec_video.c player/swfplay.c
...gst_compare_features);
+ element = gst_element_factory_create (list->data, "decoder");
+ gst_plugin_feature_list_free (list);
+ return element;
}
-static SwfdecBuffer *
-swfdec_audio_decoder_gst_pull (SwfdecAudioDecoder *dec)
+/*** PADS ***/
+
+static GstPad *
+swfdec_gst_connect_srcpad (GstElement *element, GstCaps *caps)
{
- SwfdecGstAudio *player = (SwfdecGstAudio *) dec;
- SwfdecBuffer *buffer;
+ GstPad *srcpad, *sinkpad;
- g_mutex_lock (player->mutex);
- if (player->eof) {
- while (!player->done)
- swfdec_cond_wait (player->cond, player->mutex);...
2007 Oct 28
0
9 commits - configure.ac libswfdec/swfdec_as_context.c libswfdec/swfdec_audio_internal.h libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_sound.c
...udioresample takes its time
diff --git a/libswfdec/swfdec_codec_gst.c b/libswfdec/swfdec_codec_gst.c
index b449533..35f00e5 100644
--- a/libswfdec/swfdec_codec_gst.c
+++ b/libswfdec/swfdec_codec_gst.c
@@ -148,14 +148,16 @@ swfdec_gst_get_element (GstCaps *caps)
static GstPad *
swfdec_gst_connect_srcpad (GstElement *element, GstCaps *caps)
{
+ GstPadTemplate *tmpl;
GstPad *srcpad, *sinkpad;
sinkpad = gst_element_get_pad (element, "sink");
if (sinkpad == NULL)
return NULL;
- srcpad = gst_pad_new ("src", GST_PAD_SRC);
- if (!gst_pad_set_caps (srcpad, caps))
-...
2011 May 23
2
[Cortado] How to support seeking in on-the-fly generated Theora stream?
...object,
which is called "permissionToSeek". The sinkpad should wait until it gets
a permission to seek.
I tried to achieve this with wait() and notifyAll().
the sinkpad has a method which gets called if a seek request arrives. It
synchronizes on the permission object and waits for the srcpad to grant
it:
private void doSeek(Event event) {
// wait until we get the permission to seek
synchronized (permissionToSeek) {
try {
Debug.info("[BUFFER] sink -> doSeek() waiting for
permissionToSeek");
// wait until we are allowed to seek
permissi...