Commit graph

1996 commits

Author SHA1 Message Date
Fabrizio Gennari
e38e1a0a95 gst/qtdemux/qtdemux.c: Add support for palettised Apple SMC videos (#327075, based on
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream),
(qtdemux_parse_trak), (qtdemux_video_caps):
Add support for palettised Apple SMC videos (#327075, based on
patch by: Fabrizio Gennari <fabrizio dot ge at tiscali dot it>).
2006-02-24 19:49:32 +00:00
Michael Smith
9389714ca7 autogen.sh: Allow automake 1.9
Original commit message from CVS:
* autogen.sh:
Allow automake 1.9
2006-02-24 17:15:35 +00:00
Edgard Lima
08147a8f2e Changed property name from "uri" to "location".
Original commit message from CVS:
Changed property name from "uri" to "location".
2006-02-24 17:02:08 +00:00
Jan Schmidt
f27209c6d7 Cygwin Ports maintainer.
Original commit message from CVS:
* configure.ac:
* sys/glsink/Makefile.am:
Merge patch from #317048 for building on Cygwin. Patch by
Cygwin Ports maintainer.
* sys/glsink/glimagesink.c: (gst_glimage_sink_init_display):
Move normal debug output to LOG level not ERROR.
2006-02-22 14:37:20 +00:00
Edward Hervey
091e939344 gst/qtdemux/qtdemux.c: Add 'dvsd' and 'dv25' to list of possible fourcc values for DV Video.
Original commit message from CVS:
Reviewed by : Edward Hervey <edward@fluendo.com>
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add 'dvsd' and 'dv25' to list of possible fourcc values for DV Video.
Add image/png for fourcc 'png '
2006-02-22 09:33:25 +00:00
Tim-Philipp Müller
231e251d94 configure.ac: Surely this is supposed to be >= a.b, not == a.b
Original commit message from CVS:
* configure.ac:
Surely this is supposed to be >= a.b, not == a.b
2006-02-21 15:44:05 +00:00
Jan Schmidt
0c0067a1b0 Port ximagesrc to 0.10 (Closes #304795)
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/ximagesrc/Makefile.am:
* sys/ximagesrc/ximagesrc.c: (gst_ximagesrc_return_buf),
(gst_ximagesrc_open_display), (gst_ximagesrc_start),
(gst_ximagesrc_stop), (gst_ximagesrc_unlock),
(gst_ximagesrc_recalc), (composite_pixel),
(gst_ximagesrc_ximage_get), (gst_ximagesrc_create),
(gst_ximagesrc_set_property), (gst_ximagesrc_get_property),
(gst_ximagesrc_clear_bufpool), (gst_ximagesrc_base_init),
(gst_ximagesrc_dispose), (gst_ximagesrc_finalize),
(gst_ximagesrc_get_caps), (gst_ximagesrc_set_caps),
(gst_ximagesrc_fixate), (gst_ximagesrc_class_init),
(gst_ximagesrc_init), (plugin_init):
* sys/ximagesrc/ximagesrc.h:
* sys/ximagesrc/ximageutil.c: (ximageutil_handle_xerror),
(ximageutil_check_xshm_calls), (ximageutil_xcontext_get),
(ximageutil_xcontext_clear),
(ximageutil_calculate_pixel_aspect_ratio),
(gst_ximagesrc_buffer_finalize), (gst_ximage_buffer_free),
(gst_ximagesrc_buffer_init), (gst_ximagesrc_buffer_class_init),
(gst_ximagesrc_buffer_get_type), (gst_ximageutil_ximage_new),
(gst_ximageutil_ximage_destroy):
* sys/ximagesrc/ximageutil.h:

Port ximagesrc to 0.10 (Closes #304795)
2006-02-20 21:19:59 +00:00
Edgard Lima
961d07acb1 I'm too lazy to comment this
Original commit message from CVS:
Some event handling added by Renato Filho <renato.filho@indt.org.br>
2006-02-20 20:52:02 +00:00
Jan Schmidt
4de6fefd01 configure.ac: Back to CVS nano
Original commit message from CVS:
* configure.ac:
Back to CVS nano
2006-02-20 19:13:36 +00:00
Jan Schmidt
8a1442c6c2 configure.ac: releasing 0.10.1, "Slimy - yet satisfying"
Original commit message from CVS:
2006-02-20  Jan Schmidt <thaytan@mad.scientist.com>

* configure.ac:
releasing 0.10.1, "Slimy - yet satisfying"
2006-02-20 19:12:10 +00:00
Jan Schmidt
aafdd773a2 configure.ac: Release 0.10.0.3 - pre-release for 0.10.1
Original commit message from CVS:
* configure.ac:
Release 0.10.0.3 - pre-release for 0.10.1
2006-02-19 23:45:56 +00:00
Tim-Philipp Müller
01c7f63200 ext/bz2/: Add proper copyright headers identifying Lutz Müller as the author and copyright holder (#331600).
Original commit message from CVS:
* ext/bz2/gstbz2.c:
* ext/bz2/gstbz2dec.c:
* ext/bz2/gstbz2dec.h:
* ext/bz2/gstbz2enc.c:
* ext/bz2/gstbz2enc.h:
Add proper copyright headers identifying Lutz Müller
as the author and copyright holder (#331600).
2006-02-19 20:00:12 +00:00
Tim-Philipp Müller
a55257b6d8 gst/qtdemux/qtdemux.c: Don't GST_LOG timestamps from nonexistent index entries (#331582).
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_state_movie):
Don't GST_LOG timestamps from nonexistent index
entries (#331582).
2006-02-17 18:25:42 +00:00
Edward Hervey
19ccb5f6ec gst/qtdemux/qtdemux.c: Check that the size of the returned buffer is of the correct size because the parser assumes t...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_state_header):
Check that the size of the returned buffer is of the correct size
because the parser assumes that.
Fixes #331543.
2006-02-17 16:28:29 +00:00
Jan Schmidt
200bde0efc configure.ac: Release 0.10.0.2 - pre-release for 0.10.1
Original commit message from CVS:
* configure.ac:
Release 0.10.0.2 - pre-release for 0.10.1
2006-02-17 16:00:12 +00:00
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