search for: gstel

Displaying 3 results from an estimated 3 matches for "gstel".

Did you mean: estel
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_code...
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 */ + gboole...
2007 Apr 06
0
3 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_codec.c libswfdec/swfdec_codec_ffmpeg.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec.h libswfdec/swfdec_codec_screen.c libswfdec/swfdec_codec_video.c
...static void @@ -68,9 +72,9 @@ swfdec_gst_video_unref (gpointer data, G } static void -swfdec_codec_gst_video_finish (gpointer codec_data) +swfdec_video_decoder_gst_free (SwfdecVideoDecoder *dec) { - SwfdecGstVideo *player = codec_data; + SwfdecGstVideo *player = (SwfdecGstVideo *) dec; GstElement *pipeline; g_mutex_lock (player->mutex); @@ -84,22 +88,57 @@ swfdec_codec_gst_video_finish (gpointer swfdec_gst_video_unref (player, NULL); } +SwfdecBuffer * +swfdec_video_decoder_gst_decode (SwfdecVideoDecoder *dec, SwfdecBuffer *buffer, + guint *width, guint *height, guint...