Commit graph

1981 commits

Author SHA1 Message Date
Edward Hervey
0241c68356 gst/qtdemux/qtdemux.c: Don't stop the task if the pad isn't linked.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_src_event),
(gst_qtdemux_loop), (qtdemux_sink_activate_pull):
Don't stop the task if the pad isn't linked.
2006-02-16 14:02:57 +00:00
Tim-Philipp Müller
16775d85b1 gst/qtdemux/qtdemux.c: It appears 100% equals 1/1 and not 100/1 ...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_chain):
It appears 100% equals 1/1 and not 100/1 ...
2006-02-15 12:13:47 +00:00
Tim-Philipp Müller
6e75290c49 gst/qtdemux/qtdemux.c: When buffering MDAT data, show the user something is happening by posting 'buffering' messages...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_post_buffering),
(gst_qtdemux_chain):
When buffering MDAT data, show the user something is
happening by posting 'buffering' messages on the bus.
2006-02-15 09:45:27 +00:00
Edward Hervey
6e172e01f0 gst/qtdemux/qtdemux.*: Make push-based work if mdat atom is before moov atom.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_init),
(gst_qtdemux_handle_src_query), (gst_qtdemux_change_state),
(next_entry_size), (gst_qtdemux_chain):
* gst/qtdemux/qtdemux.h:
Make push-based work if mdat atom is before moov atom.
Don't answer duration query. This should be transformed into replying
FALSE to seek events.
2006-02-14 18:50:13 +00:00
Tim-Philipp Müller
6cca025c97 ext/libmms/gstmms.c: Return FLOW_UNEXPECTED on EOS, not FLOW_ERROR. Also, no need to push our own EOS event on EOS, t...
Original commit message from CVS:
* ext/libmms/gstmms.c: (gst_mms_class_init), (gst_mms_create),
(gst_mms_start):
Return FLOW_UNEXPECTED on EOS, not FLOW_ERROR. Also, no need to
push our own EOS event on EOS, the base class will do that for us;
fix bogus query code; post semi-decent errors on the bus when an
error occurs in ::start(), otherwise the user will get to see
whatever cryptic default message GstBaseSrc comes up with.
2006-02-14 12:26:20 +00:00
Andy Wingo
b01a413122 sys/glsink/glimagesink.c (gst_glimage_sink_init): Come on schleef, don't break me gst-inspect -a.
Original commit message from CVS:
2006-02-14  Andy Wingo  <wingo@pobox.com>

* sys/glsink/glimagesink.c (gst_glimage_sink_init): Come on
schleef, don't break me gst-inspect -a.
2006-02-14 11:36:30 +00:00
Edward Hervey
fb05a750e0 gst/qtdemux/qtdemux.c: Handle the case where data atoms are before moov atoms in push-based mode.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (next_entry_size), (gst_qtdemux_chain):
Handle the case where data atoms are before moov atoms in push-based mode.
Errors out gracefully.
2006-02-14 11:24:53 +00:00
Edward Hervey
49f830d457 gst/qtdemux/: QtDemux can now work push-based.
Original commit message from CVS:
* gst/qtdemux/Makefile.am:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_init),
(gst_qtdemux_handle_sink_event), (gst_qtdemux_change_state),
(extract_initial_length_and_fourcc),
(gst_qtdemux_loop_state_header), (gst_qtdemux_loop_state_movie),
(gst_qtdemux_loop_header), (next_entry_size), (gst_qtdemux_chain),
(qtdemux_sink_activate), (qtdemux_sink_activate_pull),
(qtdemux_sink_activate_push), (qtdemux_parse_trak):
* gst/qtdemux/qtdemux.h:
QtDemux can now work push-based.
It still needs some love for seeking.
2006-02-13 22:04:42 +00:00
Edgard Lima
ef7b89f382 I'm too lazy to comment this
Original commit message from CVS:
freeze plugin ported to 0.10 by Renato Filho <renato.filho@indt.org.br>
2006-02-13 17:02:09 +00:00
Tim-Philipp Müller
1ca7ef34c2 Port cdxaparse, makes VCD playback work.
Original commit message from CVS:
* configure.ac:
* gst/cdxaparse/Makefile.am:
* gst/cdxaparse/gstcdxaparse.c:
* gst/cdxaparse/gstcdxaparse.h:
Port cdxaparse, makes VCD playback work.
2006-02-10 17:41:18 +00:00
Thomas Vander Stichele
577775354d gst/qtdemux/qtdemux.c: use the correct variable to check if we can calculate the last chunk. Looks like an obvious b...
Original commit message from CVS:

* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(qtdemux_parse_trak):
use the correct variable to check if we can calculate
the last chunk.  Looks like an obvious bug, and makes
the dump of offsets comparable to other tools
2006-02-07 18:01:17 +00:00
Thomas Vander Stichele
98a1aca828 gst/qtdemux/qtdemux.c: clean up some debugging, using _OBJECT, moving recurring messages to LOG level
Original commit message from CVS:

* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(qtdemux_parse_trak):
clean up some debugging, using _OBJECT, moving recurring
messages to LOG level
2006-02-07 17:54:42 +00:00
Edgard Lima
14a0f2771e Now it uses libneon 0.25.5 that supports shoutcast.
Original commit message from CVS:
Now it uses libneon 0.25.5 that supports shoutcast.
2006-02-06 20:51:49 +00:00
Edward Hervey
2150a63446 ext/bz2/gstbz2enc.c: Accepd "ANY" caps. Use "x-bzip" instead of "x-bz2".
Original commit message from CVS:
Reviewed by: Edward Hervey <edward@fluendo.com>
* ext/bz2/gstbz2enc.c: Accepd "ANY" caps. Use "x-bzip" instead of
"x-bz2".
* ext/bz2/gstbz2dec.c: Use "x-bzip" instead of "x-bz2". Initial
caps are "ANY".
(gst_bz2dec_chain): Configure the source pad if we can figure out
the mime type of the decompressed data.
(gst_bz2dec_[get,set]_property):
(gst_bz2dec_class_init: New property "first_buffer_size".
2006-02-06 18:21:53 +00:00
Wim Taymans
9ed9318af7 gst/qtdemux/qtdemux.*: Some QT demux loving.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_src_query),
(gst_qtdemux_handle_src_event), (gst_qtdemux_loop_header),
(qtdemux_inflate), (qtdemux_parse), (qtdemux_parse_trak),
(qtdemux_parse_udta), (qtdemux_tag_add_str), (qtdemux_tag_add_num),
(qtdemux_tag_add_gnre), (gst_qtdemux_handle_esds),
(qtdemux_video_caps), (qtdemux_audio_caps):
* gst/qtdemux/qtdemux.h:
Some QT demux loving.
Handle seeking in a less broken way.
Fix AMR caps to match the AMR decoder.
Set first timestamp on AMR samples to 0 for now.
Remove some \n in DEBUG strings.
Use _scale_int for maximum precision.
2006-02-06 15:41:25 +00:00
Tim-Philipp Müller
e0a010fb6d gst/apetag/: Remove old files, apetag is in gst-plugins-good now.
Original commit message from CVS:
* gst/apetag/Makefile.am:
* gst/apetag/apedemux.c:
* gst/apetag/apedemux.h:
* gst/apetag/apetag.c:
Remove old files, apetag is in gst-plugins-good now.
2006-02-06 12:56:00 +00:00
Andy Wingo
940f559c09 ext/bz2/: No need to init parent_class, the boilerplate does it for you.
Original commit message from CVS:
2006-02-06  Andy Wingo  <wingo@pobox.com>

* ext/bz2/gstbz2enc.c (gst_bz2enc_class_init):
* ext/bz2/gstbz2dec.c (gst_bz2dec_class_init): No need to init
parent_class, the boilerplate does it for you.
2006-02-06 09:54:55 +00:00
Andy Wingo
024ed9899d Hook it up.
Original commit message from CVS:
2006-02-05  Lutz Mueller <lutz@topfrose.de>

reviewed by: Andy Wingo <wingo@pobox.com>

* configure.ac:
* ext/Makefile.am: Hook it up.
* ext/bz2/gstbz2.c:
* ext/bz2/gstbz2dec.h:
* ext/bz2/gstbz2dec.c:
* ext/bz2/gstbz2enc.h:
* ext/bz2/gstbz2enc.c: New plugin, implements bz2 encoding and
decoding (#303167).
2006-02-06 09:40:09 +00:00
Andy Wingo
518be92099 sys/glsink/Makefile.am (libgstglimagesink_la_LIBADD)
Original commit message from CVS:
2006-01-30  Andy Wingo  <wingo@pobox.com>

* sys/glsink/Makefile.am (libgstglimagesink_la_LIBADD)
(libgstglimagesink_la_CFLAGS): Add PLUGINS_BASE cflags and libs.
2006-01-30 15:47:47 +00:00
Tim-Philipp Müller
f54198bd02 ext/wavpack/gstwavpackdec.c: Add debug category, use boilerplate macros, fix handling of widths of 32 bits.
Original commit message from CVS:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_setcaps),
(gst_wavpack_dec_base_init), (gst_wavpack_dec_dispose),
(gst_wavpack_dec_class_init), (gst_wavpack_dec_sink_event),
(gst_wavpack_dec_init), (gst_wavpack_dec_format_samples),
(gst_wavpack_dec_chain), (gst_wavpack_dec_plugin_init):
Add debug category, use boilerplate macros, fix handling
of widths of 32 bits.
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init),
(gst_wavpack_parse_dispose), (gst_wavpack_parse_class_init),
(gst_wavpack_parse_index_get_last_entry),
(gst_wavpack_parse_index_get_entry_from_sample),
(gst_wavpack_parse_index_append_entry), (gst_wavpack_parse_reset),
(gst_wavpack_parse_src_query),
(gst_wavpack_parse_scan_to_find_sample),
(gst_wavpack_parse_send_newsegment),
(gst_wavpack_parse_handle_seek_event),
(gst_wavpack_parse_src_event), (gst_wavpack_parse_init),
(gst_wavpack_parse_get_upstream_length),
(gst_wavpack_parse_pull_buffer),
(gst_wavpack_parse_create_src_pad), (gst_wavpack_parse_loop),
(gst_wavpack_parse_change_state),
(gst_wavepack_parse_sink_activate),
(gst_wavepack_parse_sink_activate_pull),
(gst_wavpack_parse_plugin_init):
* ext/wavpack/gstwavpackparse.h:
Rewrite a bit, mostly to fix flow logic and to make seeking work.
Fix buffer/event refcounting. Add some debug statements. Add
width of 32 to source pad template caps. Use boilerplate macros.
2006-01-29 20:07:49 +00:00
Edward Hervey
24994159f4 sys/glsink/Makefile.am: glimagesink.h is dead, long live glimagesink.h
Original commit message from CVS:
* sys/glsink/Makefile.am:
glimagesink.h is dead, long live glimagesink.h
2006-01-28 12:45:54 +00:00
David Schleef
ea16701619 revival of glimagesink. Kind of works.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/glsink/Makefile.am:
* sys/glsink/glimagesink.c:
* sys/glsink/glimagesink.h:
revival of glimagesink.  Kind of works.
2006-01-28 04:39:18 +00:00
Tim-Philipp Müller
b0ebf7d661 ext/faad/gstfaad.c: Handle 'framed' field in caps; Port syncing for raw streams from 0.8 branch (for AAC+ radio strea...
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_setcaps),
(gst_faad_chanpos_to_gst), (gst_faad_sync), (gst_faad_chain):
Handle 'framed' field in caps; Port syncing for raw streams
from 0.8 branch (for AAC+ radio streams) (#328722).
2006-01-27 12:47:12 +00:00
Jan Schmidt
607d32dd1f ext/sdl/sdlvideosink.*: Fix output stride copying, so that it displays correctly on framebuffer devices that don't ma...
Original commit message from CVS:
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_supported),
(gst_sdlvideosink_xoverlay_set_xwindow_id),
(gst_sdlvideosink_deinitsdl), (gst_sdlv_process_events),
(gst_sdlvideosink_event_thread), (gst_sdlvideosink_initsdl),
(gst_sdlvideosink_destroy), (gst_sdlvideosink_create),
(gst_sdlvideosink_setcaps), (gst_sdlvideosink_show_frame),
(gst_sdlvideosink_change_state),
(gst_sdlvideosink_navigation_send_event):
* ext/sdl/sdlvideosink.h:
Fix output stride copying, so that it displays correctly on
framebuffer devices that don't match our implict GStreamer stride
arrangement.

Fix locking things. Offer XOverlay only when SDL is running against
X. Make non-scaled (and ugly) embedding work via X Overlay. It can't
actually match the embedded window size because there's no way to
figure out what size that should be from the XOverlay interface.
See comment in sdlvideosink.c
2006-01-27 01:31:12 +00:00
Tim-Philipp Müller
d748422b60 gst/qtdemux/qtdemux.c: Fix wrong memcpy source pointer.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
Fix wrong memcpy source pointer.
2006-01-26 16:23:42 +00:00
Edgard Lima
8fe3f07272 Just chain up finalize calls (calling parent_class->finalize).
Original commit message from CVS:
Just chain up finalize calls (calling parent_class->finalize).
2006-01-25 14:44:05 +00:00
Edgard Lima
3d4493630e Finalize method has been created and others small changes.
Original commit message from CVS:
Finalize method has been created and others small changes.
2006-01-25 14:20:04 +00:00
Tim-Philipp Müller
b92a9c4e2b ext/musepack/: Fix seeking in musepack files (it's still incredibly slow, but I don't think that is our plugin's faul...
Original commit message from CVS:
* ext/musepack/gstmusepackdec.c: (gst_musepackdec_base_init),
(gst_musepackdec_class_init), (gst_musepackdec_init),
(gst_musepackdec_send_newsegment),
(gst_musepackdec_handle_seek_event), (gst_musepackdec_src_event),
(gst_musepackdec_src_query), (gst_musepackdec_src_convert),
(gst_musepack_stream_init), (gst_musepackdec_sink_activate_pull),
(gst_musepackdec_loop), (gst_musepackdec_change_state):
* ext/musepack/gstmusepackdec.h:
* ext/musepack/gstmusepackreader.c: (gst_musepack_reader_peek),
(gst_musepack_reader_seek), (gst_musepack_reader_tell),
(gst_musepack_reader_get_size):
* ext/musepack/gstmusepackreader.h:
Fix seeking in musepack files (it's still incredibly slow, but I
don't think that is our plugin's fault). Clean up code and get
rid of old cruft. Post tags with all kind of neat information like
replay gain and such on the bus, if it is available. Add a
'musepackdec' debug category.
2006-01-24 21:33:25 +00:00
Edward Hervey
883bcdafbb gst/qtdemux/qtdemux.c: More coherent framerate setting on caps.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(gst_qtdemux_add_stream), (qtdemux_parse_trak):
More coherent framerate setting on caps.
If sample_size is available, use that for the samples' duration in
the index. This enables single frame streams to work (and I imagine
fixes some other cases).
Tested on testsuite, no regression.
2006-01-24 11:58:53 +00:00
Edward Hervey
8d1719bd4f gst/qtdemux/qtdemux.c: Added codec recognition for: _ VP31 : video/x-vp3 _ AVDJ : image/jpeg _ dvcp, dvc : video/x-d...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak),
(qtdemux_video_caps), (qtdemux_audio_caps):
Added codec recognition for:
_ VP31 : video/x-vp3
_ AVDJ : image/jpeg
_ dvcp, dvc  : video/x-dv, systemstream=(boolean)false
_ 0x6d730017 : audio/x-adpcm, layout=(string)quicktime
2006-01-23 15:10:55 +00:00
David Schleef
edbd3adf7d Update from swfdec.
Original commit message from CVS:
* configure.ac:
* ext/swfdec/gstswfdec.c: Update from swfdec.
2006-01-21 18:35:29 +00:00
Fabrizio
3ac31471aa gst/qtdemux/qtdemux.c: 'twos' and 'sowt' fourcc can be 16bit or 8bit audio.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak),
(qtdemux_audio_caps):
'twos' and 'sowt' fourcc can be 16bit or 8bit audio.
Fix 8bit case (#327133, based on patch by: Fabrizio
Gennari <fabrizio dot ge at tiscali dot it>).
Also, "G_LITTLE_ENDIAN" and "G_BIG_ENDIAN" are not
valid literals for endianness in caps strings,
only "LITTLE_ENDIAN" and "BIG_ENDIAN" are valid.
2006-01-21 11:43:53 +00:00
Edgard Lima
a017143695 Fixed state transictions PLAYING->NULL->PLAYING.
Original commit message from CVS:
Fixed state transictions PLAYING->NULL->PLAYING.
2006-01-20 17:04:38 +00:00
Edgard Lima
5e2f8a3736 Some minor improvements on log messages.
Original commit message from CVS:
Some minor improvements on log messages.
2006-01-19 16:49:29 +00:00
Edgard Lima
017bbb0338 Ronald's patch applied. see bug #326318.
Original commit message from CVS:
Ronald's patch applied. see bug #326318.
2006-01-18 18:54:02 +00:00
Tim-Philipp Müller
e8cbc6feed gst/qtdemux/qtdemux.*: Fix seeking for quicktime files. Could still use some more love and sophistication.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_init),
(gst_qtdemux_send_event), (gst_qtdemux_handle_src_event),
(gst_qtdemux_change_state), (gst_qtdemux_loop_header):
* gst/qtdemux/qtdemux.h:
Fix seeking for quicktime files. Could still use some more
love and sophistication.
2006-01-17 16:45:43 +00:00
Edgard Lima
6308ad1a0f Removed gst_base_src_set_live from mms and neon, and now calling parent_class->dispose in dispose on sdlaudio.
Original commit message from CVS:
Removed gst_base_src_set_live from mms and neon, and now calling parent_class->dispose in dispose on sdlaudio.
2006-01-16 12:30:41 +00:00
Edgard Lima
7c41741fa8 Now implementing navigation interface and using GST_BOILER_PLATE_FULL.
Original commit message from CVS:
Now implementing navigation interface and using GST_BOILER_PLATE_FULL.
2006-01-11 20:59:39 +00:00
Christian Schaller
b08efa5f3e remove old (broken) sunaudio plugin from bad as there is a new working one in -good
Original commit message from CVS:
remove old (broken) sunaudio plugin from bad as there is a new working one
in -good
2006-01-11 15:34:52 +00:00
Edgard Lima
7c8d38fbc9 Replaced wrong style code by GST_BOILERPLATE.
Original commit message from CVS:
Replaced wrong style code by GST_BOILERPLATE.
2006-01-11 14:41:24 +00:00
Edward Hervey
404d40d1dd gst/qtdemux/qtdemux.c: Add support for Indeo3 video in Quicktime files.
Original commit message from CVS:
reviewed by: Edward Hervey  <edward@fluendo.com>
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add support for Indeo3 video in Quicktime files.
Closes #326524
2006-01-11 11:04:03 +00:00
Edgard Lima
a438034608 Created new element, sdlaudiosink.
Original commit message from CVS:
Created new element, sdlaudiosink.
2006-01-09 18:20:56 +00:00
Sébastien Moutte
ce77e3b44b added sys/directdraw added sys/directsound added win32/vs6/gst_plugins_bad.dsw added win32/vs6/libgstdirectsound.dsp ...
Original commit message from CVS:
2006-01-05  Sebastien Moutte  <sebastien@moutte.net>
* added sys/directdraw
* added sys/directsound
* added win32/vs6/gst_plugins_bad.dsw
* added win32/vs6/libgstdirectsound.dsp
* added win32/vs6/libgstdirectdraw.dsp
* added win32/common/config.h
2006-01-05 23:17:44 +00:00
Stefan Kost
18378238d8 gst/games/gstpuzzle.c: call oil_init() when using liboil
Original commit message from CVS:
* gst/games/gstpuzzle.c: (plugin_init):
call oil_init() when using liboil
2006-01-05 17:03:15 +00:00
Edgard Lima
35204f008d Some improvements in cancellation and debug messages.
Original commit message from CVS:
Some improvements in cancellation and debug messages.
2006-01-04 19:39:10 +00:00
Edgard Lima
565a17b6a4 Removed not need thread and changed to push out blocksize bytes.
Original commit message from CVS:
Removed not need thread and changed to push out blocksize bytes.
2006-01-04 13:26:35 +00:00
Edgard Lima
3f88a353d4 Created new element neonhttpsrc.
Original commit message from CVS:
Created new element neonhttpsrc.
2005-12-28 21:07:17 +00:00
Edward Hervey
95d65be727 ext/swfdec/gstswfdec.c: Add debugging category and return GstFlowReturn in the right places
Original commit message from CVS:
* ext/swfdec/gstswfdec.c: (gst_swfdec_class_init),
(gst_swfdec_chain), (gst_swfdec_render):
Add debugging category and return GstFlowReturn in the right places
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_link):
Get something from the peer pad once we've checked if there is a peer pad.
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(qtdemux_tree_get_child_by_type), (qtdemux_parse_trak),
(qtdemux_video_caps):
Couple of fixes
2005-12-19 15:19:44 +00:00
Edgard Lima
ac8b1191d4 just a small fix. I have to pay more attention when commiting ;-)
Original commit message from CVS:
just a small fix. I have to pay more attention when commiting ;-)
2005-12-19 14:58:47 +00:00
Edgard Lima
9536cc03c0 divxdec and divxenc ported to 0.10
Original commit message from CVS:
divxdec and divxenc ported to 0.10
2005-12-19 14:40:22 +00:00