Displaying 4 results from an estimated 4 matches for "gstmessag".
Did you mean:
gstmessage
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 Apr 08
0
libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c
...utex_unlock (player->mutex);
+}
+
+static void
+swfdec_audio_decoder_gst_link (GstElement *src, GstPad *pad, GstElement *sink)
+{
+ if (!gst_element_link (src, sink)) {
+ SWFDEC_ERROR ("no delayed link");
+ }
+}
+
+GstBusSyncReply
+swfdec_audio_decoder_gst_handle_bus (GstBus *bus, GstMessage *message, gpointer data)
+{
+ SwfdecGstAudio *player = data;
+
+ switch (message->type) {
+ case GST_MESSAGE_EOS:
+ case GST_MESSAGE_ERROR:
+ g_mutex_lock (player->mutex);
+ g_cond_signal (player->cond);
+ player->done = TRUE;
+ g_mutex_unlock (player->mu...
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
...*) dec;
+
+ swfdec_gst_decoder_finish (&player->dec);
+ swfdec_gst_decoder_finish (&player->convert);
+ swfdec_gst_decoder_finish (&player->resample);
+
+ g_slice_free (SwfdecGstAudio, player);
}
-static GstBusSyncReply
-swfdec_audio_decoder_gst_handle_bus (GstBus *bus, GstMessage *message, gpointer data)
+static void
+swfdec_audio_decoder_gst_push (SwfdecAudioDecoder *dec, SwfdecBuffer *buffer)
{
- SwfdecGstAudio *player = data;
-
- switch (message->type) {
- case GST_MESSAGE_EOS:
- case GST_MESSAGE_ERROR:
- g_mutex_lock (player->mutex);
- g_cond_s...
2007 Apr 16
0
7 commits - libswfdec/swfdec_codec_gst.c libswfdec/swfdec_font.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_pattern.c libswfdec/swfdec_pattern.h libswfdec/swfdec_shape.c libswfdec/swfdec_shape.h libswfdec/swfdec_sprite.c
...gst.c b/libswfdec/swfdec_codec_gst.c
index 64c335c..6c1ae37 100644
--- a/libswfdec/swfdec_codec_gst.c
+++ b/libswfdec/swfdec_codec_gst.c
@@ -176,7 +176,7 @@ swfdec_audio_decoder_gst_link (GstElemen
}
}
-GstBusSyncReply
+static GstBusSyncReply
swfdec_audio_decoder_gst_handle_bus (GstBus *bus, GstMessage *message, gpointer data)
{
SwfdecGstAudio *player = data;