Displaying 2 results from an estimated 2 matches for "gstele".
Did you mean:
gstel
2007 Apr 08
0
libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c
...+typedef struct _SwfdecGstAudio SwfdecGstAudio;
+struct _SwfdecGstAudio {
+ SwfdecAudioDecoder decoder;
+
+ GMutex * mutex; /* mutex that blocks everything below */
+ GCond * cond; /* cond used to signal when stuff below changes */
+ volatile int refcount; /* refcount (d'oh) */
+
+ GstElement * pipeline; /* pipeline that is playing or NULL when done */
+ SwfdecBuffer * in; /* next input buffer or NULL */
+ SwfdecBufferQueue * out; /* all the stored output buffers */
+ GstCaps * srccaps; /* caps to set on buffers */
+ gboolean eof; /* we've pushed EOF */
+ gboolea...
2007 Apr 05
0
4 commits - libswfdec/swfdec_audio_flv.c libswfdec/swfdec_audio_stream.c libswfdec/swfdec_codec_adpcm.c libswfdec/swfdec_codec.c libswfdec/swfdec_codec_ffmpeg.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec.h libswfdec/swfdec_codec_mad.c
...-26,7 +26,7 @@
#include "swfdec_codec.h"
#include "swfdec_debug.h"
-#if 0
+#if 1
#define swfdec_cond_wait(cond, mutex) G_STMT_START { \
g_print ("waiting at %s\n", G_STRLOC); \
g_cond_wait (cond, mutex); \
@@ -95,6 +95,7 @@ swfdec_codec_gst_fakesrc_handoff (GstEle
g_mutex_unlock (player->mutex);
return;
}
+ g_print ("got one\n");
buf->data = g_memdup (player->in->data, player->in->length);
buf->size = player->in->length;
gst_buffer_set_caps (buf, player->srccaps);
@@ -124,6 +125,7 @@ swfdec_codec...