Displaying 8 results from an estimated 8 matches for "fakesink".
2007 Apr 08
0
libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c
...n->length);
+ buf->malloc_data = buf->data;
+ buf->size = player->in->length;
+ }
+ gst_buffer_set_caps (buf, player->srccaps);
+ player->in = NULL;
+ g_cond_signal (player->cond);
+ g_mutex_unlock (player->mutex);
+}
+
+static void
+swfdec_audio_decoder_gst_fakesink_handoff (GstElement *fakesrc, GstBuffer *buf,
+ GstPad *pad, SwfdecGstAudio *player)
+{
+ SwfdecBuffer *buffer;
+
+ g_mutex_lock (player->mutex);
+
+ while (player->pipeline == NULL && player->out != NULL)
+ swfdec_cond_wait (player->cond, player->mutex);
+ buffer...
2007 Apr 05
0
configure.ac libswfdec/Makefile.am libswfdec/swfdec_codec.c libswfdec/swfdec_codec_gst.c
...gt;data = g_memdup (player->in->data, player->in->length);
+ buf->size = player->in->length;
+ gst_buffer_set_caps (buf, player->srccaps);
+ player->in = NULL;
+ g_cond_signal (player->cond);
+ g_mutex_unlock (player->mutex);
+}
+
+static void
+swfdec_codec_gst_fakesink_handoff (GstElement *fakesrc, GstBuffer *buf,
+ GstPad *pad, SwfdecGstVideo *player)
+{
+ GstCaps *caps;
+
+ g_mutex_lock (player->mutex);
+ caps = gst_buffer_get_caps (buf);
+ if (caps) {
+ GstStructure *structure = gst_caps_get_structure (caps, 0);
+ if (!gst_structure_get_int (s...
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
...gt;size = player->in->length;
- gst_buffer_set_caps (buf, player->srccaps);
- swfdec_buffer_unref (player->in);
- player->in = NULL;
- player->out_next = TRUE;
- g_cond_signal (player->cond);
- g_mutex_unlock (player->mutex);
-}
-
-static void
-swfdec_video_decoder_gst_fakesink_handoff (GstElement *fakesrc, GstBuffer *buf,
- GstPad *pad, SwfdecGstVideo *player)
-{
- GstCaps *caps;
-
- g_mutex_lock (player->mutex);
- if (!player->out_next) {
- player->error = TRUE;
- g_cond_signal (player->cond);
- g_mutex_unlock (player->mutex);
- return;...
2005 Jul 29
2
theora optimizations
...David Schleef, maintainer of liboil, and
made patches to both theora and liboil for mmx.
- unoptimized TRUNK:
[xiph-head] [thomas@thomas theora]$ time
LD_LIBRARY_PATH=/home/thomas/xiph/head/theora/lib/.libs gst-launch
filesrc location=/home/thomas/gst/media/large/matrix.avi ! spider !
theoraenc ! fakesink
RUNNING pipeline ...
Execution ended after 3637 iterations (sum 490841744000 ns, average
134957861 ns, min 169000 ns, max 2447342000 ns).
real 8m11.662s
user 7m49.656s
sys 0m2.247s
- alpha3 with wim's original patch:
[xiph-head] [thomas@thomas theora.alpha3.opt]$ time
LD_LIBRARY_PA...
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
...ange element state");
+ return FALSE;
}
- gst_buffer_set_caps (buf, player->srccaps);
- swfdec_buffer_unref (player->in);
- player->in = NULL;
- g_cond_signal (player->cond);
- g_mutex_unlock (player->mutex);
+ return TRUE;
}
static void
-swfdec_audio_decoder_gst_fakesink_handoff (GstElement *fakesrc, GstBuffer *buf,
- GstPad *pad, SwfdecGstAudio *player)
+swfdec_gst_decoder_finish (SwfdecGstDecoder *dec)
{
- SwfdecBuffer *buffer;
+ if (dec->decoder) {
+ gst_element_set_state (dec->decoder, GST_STATE_NULL);
+ g_object_unref (dec->decoder);
+...
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
...uf->malloc_data = buf->data;
buf->size = player->in->length;
gst_buffer_set_caps (buf, player->srccaps);
player->in = NULL;
+ player->out_next = TRUE;
g_cond_signal (player->cond);
g_mutex_unlock (player->mutex);
}
@@ -111,6 +150,12 @@ swfdec_codec_gst_fakesink_handoff (GstEl
GstCaps *caps;
g_mutex_lock (player->mutex);
+ if (!player->out_next) {
+ player->error = TRUE;
+ g_cond_signal (player->cond);
+ g_mutex_unlock (player->mutex);
+ return;
+ }
caps = gst_buffer_get_caps (buf);
if (caps) {
GstStructure *...
2010 Nov 30
1
Consistency regarding compiled Cortado 0.6.0 source and the official binary
...ioClock.class
./com/fluendo/plugin/AudioSink$RingBuffer.class
./com/fluendo/plugin/AudioSink.class
./com/fluendo/plugin/AudioSinkJ2.class
./com/fluendo/plugin/AudioSinkSA$RingBufferSA.class
./com/fluendo/plugin/AudioSinkSA$RingReader.class
./com/fluendo/plugin/AudioSinkSA.class
./com/fluendo/plugin/FakeSink.class
./com/fluendo/plugin/HTTPSrc$1.class
./com/fluendo/plugin/HTTPSrc.class
./com/fluendo/plugin/OggDemux$1.class
./com/fluendo/plugin/OggDemux$OggChain.class
./com/fluendo/plugin/OggDemux$OggStream.class
./com/fluendo/plugin/OggDemux.class
./com/fluendo/plugin/OggPayload.class
./com/fluendo/plug...
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_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_gst_fakesink_handoff (GstEl
swfdec_cond_wait (player->cond, player->mutex);
if (player->pipeline == NULL)
return;
+ g_print ("put one\n");
player->out = swfdec_buffer_new ();
player->out->data = g_memdup (buf->data, buf->size);
player->out->length =...