search for: gstelement

Displaying 8 results from an estimated 8 matches for "gstelement".

Did you mean: getelement
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 */ + gboolean d...
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 (GstBuffer *buffer) +{ + SwfdecBuffer *ret; - GMutex * mutex; /* mutex that blocks everything below */ - GCond * cond; /* cond used to signal when stuff below changes */ - volatile int refcount; /* refcount (d'oh) */ + g_return_val_if_fail (GST_IS_BUFFER (buffer), NULL); - 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 */ - gboolean d...
2007 Apr 05
0
configure.ac libswfdec/Makefile.am libswfdec/swfdec_codec.c libswfdec/swfdec_codec_gst.c
...uot;, G_STRLOC); \ +}G_STMT_END + +typedef struct _SwfdecGstVideo SwfdecGstVideo; +struct _SwfdecGstVideo { + 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 */ + SwfdecBuffer * out; /* available output or NULL */ + int width; /* width of last output buffer */ + int height; /* height of last output buffer */ + GstCaps * srccaps;...
2008 Jun 07
2
[PATCH] fix issues from latest commits
hi, attacched a couple of patches that fix: - a variable may be used unitialized in swfdec_audio_decoder.c - swfdec_init.c got referenced in swfdec/Makefile.am but it's not in git, i've removed it but maybe the right fix is to add it instead Still not able to compile swfdec (shadow warnings), will follow other patches if you don't beat me to it. cheers, rm -------------- next
2007 Oct 28
1
9 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_object.c libswfdec/swfdec_codec_gst.c test/trace
...GstVideo SwfdecGstVideo; struct _SwfdecGstVideo { SwfdecVideoDecoder decoder; - GMutex * mutex; /* mutex that blocks everything below (NB: locked by default) */ - 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 */ - GstBuffer * out; /* available output or NULL */ - int width; /* width of last output buffer */ - int height; /* height of last output buffer */ - GstCaps * srccaps; /*...
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 *rows...
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
...NULL) return; + g_print ("put one\n"); player->out = swfdec_buffer_new (); player->out->data = g_memdup (buf->data, buf->size); player->out->length = buf->size; @@ -134,13 +136,14 @@ swfdec_codec_gst_fakesink_handoff (GstEl static void do_the_link (GstElement *src, GstPad *pad, GstElement *sink) { + g_print ("link!\n"); if (!gst_element_link (src, sink)) { SWFDEC_ERROR ("no delayed link"); } } static gpointer -swfdec_codec_gst_h263_init (void) +swfdec_codec_gst_video_init (SwfdecVideoFormat type) { SwfdecGstVideo...
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
...mple 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)) - goto erro...