search for: gst_bin_add

Displaying 6 results from an estimated 6 matches for "gst_bin_add".

2007 Apr 08
0
libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c
..."can-activate-pull", FALSE, NULL); + g_signal_connect (fakesrc, "handoff", + G_CALLBACK (swfdec_audio_decoder_gst_fakesrc_handoff), player); + g_atomic_int_inc (&player->refcount); + g_object_weak_ref (G_OBJECT (fakesrc), swfdec_gst_audio_unref, player); + gst_bin_add (GST_BIN (player->pipeline), fakesrc); + fakesink = gst_element_factory_make ("fakesink", NULL); + if (fakesink == NULL) { + SWFDEC_ERROR ("failed to create fakesink"); + swfdec_audio_decoder_gst_free (&player->decoder); + return NULL; + } + g_object_set (...
2007 Apr 05
0
configure.ac libswfdec/Makefile.am libswfdec/swfdec_codec.c libswfdec/swfdec_codec_gst.c
...TRUE, + "can-activate-pull", FALSE, NULL); + g_signal_connect (fakesrc, "handoff", + G_CALLBACK (swfdec_codec_gst_fakesrc_handoff), player); + g_atomic_int_inc (&player->refcount); + g_object_weak_ref (G_OBJECT (fakesrc), swfdec_gst_video_unref, player); + gst_bin_add (GST_BIN (player->pipeline), fakesrc); + fakesink = gst_element_factory_make ("fakesink", NULL); + if (fakesink == NULL) { + SWFDEC_ERROR ("failed to create fakesink"); + swfdec_codec_gst_video_finish (player); + return NULL; + } + g_object_set (fakesink, "s...
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
..."can-activate-pull", FALSE, NULL); - g_signal_connect (fakesrc, "handoff", - G_CALLBACK (swfdec_audio_decoder_gst_fakesrc_handoff), player); - g_atomic_int_inc (&player->refcount); - g_object_weak_ref (G_OBJECT (fakesrc), swfdec_gst_audio_unref, player); - gst_bin_add (GST_BIN (player->pipeline), fakesrc); - fakesink = gst_element_factory_make ("fakesink", NULL); - if (fakesink == NULL) { - SWFDEC_ERROR ("failed to create fakesink"); - swfdec_audio_decoder_gst_free (&player->decoder); - return NULL; - } - g_object_set (...
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
..."can-activate-pull", FALSE, NULL); - g_signal_connect (fakesrc, "handoff", - G_CALLBACK (swfdec_video_decoder_gst_fakesrc_handoff), player); - g_atomic_int_inc (&player->refcount); - g_object_weak_ref (G_OBJECT (fakesrc), swfdec_gst_video_unref, player); - gst_bin_add (GST_BIN (player->pipeline), fakesrc); - fakesink = gst_element_factory_make ("fakesink", NULL); - if (fakesink == NULL) { - SWFDEC_ERROR ("failed to create fakesink"); - swfdec_video_decoder_gst_free (&player->decoder); - return NULL; - } - g_object_set (...
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
...(SwfdecVideo decoder = gst_element_factory_make ("decodebin", NULL); if (decoder == NULL) { SWFDEC_ERROR ("failed to create decoder"); - swfdec_codec_gst_video_finish (player); + swfdec_video_decoder_gst_free (&player->decoder); return NULL; } gst_bin_add (GST_BIN (player->pipeline), decoder); csp = gst_element_factory_make ("ffmpegcolorspace", NULL); if (csp == NULL) { SWFDEC_ERROR ("failed to create colorspace"); - swfdec_codec_gst_video_finish (player); + swfdec_video_decoder_gst_free (&player->decod...
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
...G_STRLOC); \ g_cond_wait (cond, mutex); \ g_print (" done at %s\n", G_STRLOC); \ }G_STMT_END +#else +#define swfdec_cond_wait g_cond_wait +#endif typedef struct _SwfdecGstVideo SwfdecGstVideo; struct _SwfdecGstVideo { @@ -194,8 +198,13 @@ swfdec_codec_gst_h263_init (void) gst_bin_add (GST_BIN (player->pipeline), csp); g_signal_connect (decoder, "pad-added", G_CALLBACK (do_the_link), csp); +#if G_BYTE_ORDER == G_BIG_ENDIAN sinkcaps = gst_caps_from_string ("video/x-raw-rgb, bpp=32, endianness=4321, depth=24, " "red_mask=16711680, green_m...