Commit graph

658 commits

Author SHA1 Message Date
Ronald S. Bultje
7fa3cd3b18 ext/alsa/: Make alsasink/src a subclass of alsamixer so that mixer stuff shows up in gst-rec. Needs some finetuning.
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
* ext/alsa/gstalsasink.c: (gst_alsa_sink_get_type),
(gst_alsa_sink_class_init):
* ext/alsa/gstalsasink.h:
* ext/alsa/gstalsasrc.c: (gst_alsa_src_get_type),
(gst_alsa_src_class_init):
* ext/alsa/gstalsasrc.h:
Make alsasink/src a subclass of alsamixer so that mixer stuff
shows up in gst-rec. Needs some finetuning.
2004-05-07 04:56:56 +00:00
Benjamin Otte
07974d8869 cvs commit: warning: file 'ChangeLog' seems to still contain conflict indicators
Original commit message from CVS:
cvs commit: warning: file 'ChangeLog' seems to still contain conflict indicators
2004-05-07 00:45:12 +00:00
Benjamin Otte
b581588127 ext/lame/gstlame.c: simplify
Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_chain):
simplify
* ext/mad/gstmad.c: (gst_mad_handle_event):
fix event leak
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find):
be able to detect mp3 files < 4096 bytes
2004-05-07 00:43:50 +00:00
Wim Taymans
bb396483ac ext/theora/theoraenc.c: Also encode the first frame, cleanup some code.
Original commit message from CVS:
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_sink_link), (theora_push_packet), (theora_enc_chain),
(theora_enc_set_property), (theora_enc_get_property):
Also encode the first frame, cleanup some code.
2004-05-06 14:32:14 +00:00
Wim Taymans
35eb307d93 ext/mpeg2enc/gstmpeg2enc.cc: Forward events first before deciding that negotiation was not performed.
Original commit message from CVS:
* ext/mpeg2enc/gstmpeg2enc.cc:
Forward events first before deciding that negotiation was
not performed.
2004-05-06 09:21:24 +00:00
Wim Taymans
6a07206b05 gst/wavenc/gstwavenc.c: First process the events before deciding that negotiation was not performed.
Original commit message from CVS:
* gst/wavenc/gstwavenc.c: (gst_wavenc_chain):
First process the events before deciding that negotiation
was not performed.
2004-05-06 09:14:28 +00:00
Wim Taymans
3060b5e9f8 ext/theora/: Added a theora encoder, grouped the encoder and decoder into the same plugin.
Original commit message from CVS:
* ext/theora/Makefile.am:
* ext/theora/theora.c: (plugin_init):
* ext/theora/theoradec.c: (theora_dec_change_state):
* ext/theora/theoraenc.c: (gst_theora_enc_base_init),
(gst_theora_enc_class_init), (gst_theora_enc_init),
(theora_enc_sink_link), (theora_enc_event), (theora_push_packet),
(theora_enc_chain), (theora_enc_change_state),
(theora_enc_set_property), (theora_enc_get_property):
Added a theora encoder, grouped the encoder and decoder into the
same plugin.
2004-05-06 09:10:31 +00:00
Thomas Vander Stichele
9dc7089430 ext/jpeg/gstjpegenc.c: fix DURATION on outgoing buffers
Original commit message from CVS:
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_get_type),
(gst_jpegenc_chain):
fix DURATION on outgoing buffers
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_sink_event):
debug using time formats
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_sink_link):
windows with width/height 0 generate X errors, so don't allow them
2004-05-05 11:29:49 +00:00
Wim Taymans
97ca691d17 ext/mpeg2dec/gstmpeg2dec.*: removed the static pad template so that we can add the more accurate framerate value to t...
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (src_templ),
(gst_mpeg2dec_base_init), (gst_mpeg2dec_init),
(gst_mpeg2dec_negotiate_format):
* ext/mpeg2dec/gstmpeg2dec.h:
removed the static pad template so that we can add the
more accurate framerate value to the caps.
2004-05-05 09:13:42 +00:00
Benjamin Otte
39e1d5c6a5 configure.ac: check for kdemacros.h, too (should fix #141821)
Original commit message from CVS:
* configure.ac:
check for kdemacros.h, too (should fix #141821)
* ext/vorbis/vorbisdec.c: (vorbis_dec_event), (vorbis_dec_chain):
don't crash if no header was sent, but nicely error out (fixes part
of #141554)
2004-05-04 18:38:39 +00:00
Wim Taymans
4a5e4bd000 ext/mpeg2enc/gstmpeg2enc.cc: call the parent dispose function to avoid segfault on destroy.
Original commit message from CVS:
* ext/mpeg2enc/gstmpeg2enc.cc: (gst_mpeg2enc_dispose): call the
parent dispose function to avoid segfault on destroy.
2004-05-04 14:39:29 +00:00
Thomas Vander Stichele
8bb06eec5c sys/: clean up debugging caps also recreate xvimage when format has changed
Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_sink_link),
(plugin_init):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get),
(gst_xvimagesink_sink_link):
clean up debugging caps
also recreate xvimage when format has changed
2004-05-04 14:17:25 +00:00
Benjamin Otte
c9934b3054 ext/libvisual/: use a GstAdapter to correctly adapt buffer sizes - allows using a framerate
Original commit message from CVS:
* ext/libvisual/Makefile.am:
* ext/libvisual/visual.c: (gst_visual_class_init),
(gst_visual_init), (gst_visual_dispose), (gst_visual_getcaps),
(gst_visual_srclink), (gst_visual_chain),
(gst_visual_change_state), (plugin_init):
use a GstAdapter to correctly adapt buffer sizes - allows using a
framerate
2004-05-04 00:44:19 +00:00
Thomas Vander Stichele
7da21bd2e8 query v4lsrc device for fps (which works for webcams)
Original commit message from CVS:
query v4lsrc device for fps (which works for webcams)
2004-05-03 17:26:43 +00:00
Stéphane Loeuillet
36fef2e569 don't trust lame_init to set good values as defaults
Original commit message from CVS:
don't trust lame_init to set good values as defaults
2004-05-03 16:46:10 +00:00
Thomas Vander Stichele
4676f68803 ext/divx/gstdivxenc.c: fix range since -1 is the default
Original commit message from CVS:
* ext/divx/gstdivxenc.c: (gst_divxenc_get_type),
(gst_divxenc_class_init):
fix range since -1 is the default
* gst/mpeg1sys/gstmpeg1systemencode.c:
(gst_mpeg1_system_encode_get_type), (gst_system_encode_multiplex):
* gst/rtjpeg/gstrtjpegdec.c: (gst_rtjpegdec_get_type),
(gst_rtjpegdec_chain):
* gst/rtjpeg/gstrtjpegenc.c: (gst_rtjpegenc_get_type),
(gst_rtjpegenc_chain):
* sys/qcam/gstqcamsrc.c: (gst_autoexp_mode_get_type),
(gst_qcamsrc_get_type), (gst_qcamsrc_change_state):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_get_type):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_get_type):
* sys/v4l/gstv4lsrc.c:
* sys/v4l/v4l_calls.c: (gst_v4l_open):
* sys/v4l/v4lmjpegsink_calls.c: (gst_v4lmjpegsink_playback_init):
* sys/v4l/v4lmjpegsrc_calls.c: (gst_v4lmjpegsrc_capture_init):
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_capture_init):
* sys/vcd/vcdsrc.c: (vcdsrc_get_type), (vcdsrc_get):
remove gst_info calls
2004-05-03 14:31:47 +00:00
Thomas Vander Stichele
17e7683cb5 updated translations
Original commit message from CVS:
updated translations
2004-05-03 13:37:09 +00:00
Thomas Vander Stichele
cba2022045 gst/audioconvert/gstaudioconvert.c: refactor/comment code
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int):
refactor/comment code
2004-05-03 13:25:22 +00:00
Ronald S. Bultje
da4145de66 gst/asfdemux/: Add tagging support to demuxer, split out registration in its own and prevent having some tables in ou...
Original commit message from CVS:
* gst/asfdemux/Makefile.am:
* gst/asfdemux/asfheaders.c:
* gst/asfdemux/asfheaders.h:
* gst/asfdemux/gstasf.c: (plugin_init):
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_get_type),
(gst_asf_demux_base_init), (gst_asf_demux_process_comment),
(gst_asf_demux_setup_pad):
* gst/asfdemux/gstasfdemux.h:
* gst/asfdemux/gstasfmux.c:
* gst/asfdemux/gstasfmux.h:
Add tagging support to demuxer, split out registration in its own
file instead of in demux (hacky), and prevent having some tables
in our memory multiple times (in asfheaders.h).
2004-05-02 18:07:39 +00:00
Ronald S. Bultje
164e1ae976 gst/matroska/: Basic tag reading support.
Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_metadata):
* gst/matroska/matroska-ids.h:
Basic tag reading support.
2004-05-01 17:27:23 +00:00
Ronald S. Bultje
bd56d546af gst/matroska/matroska-demux.c: Really detect ac-3 audio.
Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_audio_caps):
Really detect ac-3 audio.
* gst/typefind/gsttypefindfunctions.c: (matroska_type_find):
really detect matroska files (off-by-1).
2004-05-01 02:46:38 +00:00
David Schleef
0afd22808f gst/qtdemux/qtdemux.c: More qtdemux hackage -- parse a lot more atoms, extract a few tags. One might even mistake th...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(gst_qtdemux_add_stream), (qtdemux_parse), (qtdemux_type_get),
(qtdemux_dump_stsz), (qtdemux_dump_stco), (qtdemux_dump_co64),
(qtdemux_dump_unknown), (qtdemux_parse_tree), (qtdemux_parse_udta),
(qtdemux_tag_add), (get_size), (gst_qtdemux_handle_esds): More qtdemux
hackage -- parse a lot more atoms, extract a few tags.  One might even
mistake this for tag support.  Maybe it is.
* gst/qtdemux/qtdemux.h:
2004-05-01 01:46:16 +00:00
Colin Walters
d0d062e9ae plug a memleak
Original commit message from CVS:
plug a memleak
2004-04-30 20:57:48 +00:00
Thomas Vander Stichele
6e19650c97 gst/ffmpegcolorspace/gstffmpegcolorspace.c: remove broken nego fix
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_getcaps):
remove broken nego fix
2004-04-30 12:21:11 +00:00
Benjamin Otte
712fde64fe add initial support for libvisual (http://libvisual.sourceforge.net) libvisual is still quite alpha, so expect crashe...
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/libvisual/Makefile.am:
* ext/libvisual/visual.c:
add initial support for libvisual (http://libvisual.sourceforge.net)
libvisual is still quite alpha, so expect crashes in there :)
2004-04-30 02:25:09 +00:00
David Schleef
d74765e3fd gst/qtdemux/qtdemux.c: Hacked up qtdemux to make it spit out codec_data. Do _not_ look at this code; you will no lon...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_add_stream), (qtdemux_parse),
(qtdemux_parse_trak), (get_size), (gst_qtdemux_handle_esds): Hacked
up qtdemux to make it spit out codec_data.  Do _not_ look at this
code; you will no longer respect me.
2004-04-30 02:19:16 +00:00
Stéphane Loeuillet
a8192d32b3 change alsa pcm device discovery to find more than 1 device per card.
Original commit message from CVS:
change alsa pcm device discovery to find more than 1 device per card.
code review by Ronald.
2004-04-30 01:20:54 +00:00
David Schleef
f9b2782a96 sys/oss/gstosselement.c: Add a check for a driver bug on FreeBSD. (bug #140565)
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_rate_probe_check):
Add a check for a driver bug on FreeBSD.  (bug #140565)
2004-04-29 23:45:03 +00:00
Thomas Vander Stichele
c3c9ba6297 ext/jpeg/: move format setting to inner loop
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpegdec_get_type):
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_get_type),
(gst_jpegenc_getcaps):
move format setting to inner loop
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_getcaps):
use GST_PAD_CAPS if available so that we use already negotiated
caps
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(qtdemux_parse_moov), (qtdemux_parse):
extra debugging
* sys/qcam/qcam-Linux.c: (qc_lock_wait), (qc_unlock):
* sys/qcam/qcam-os.c: (qc_lock_wait), (qc_unlock):
move hardcoded path to DEFINE
2004-04-29 17:37:01 +00:00
David Schleef
b2b8ee0908 gst/speed/gstspeed.c: Fix caps parsing. (bug #140064)
Original commit message from CVS:
* gst/speed/gstspeed.c: (speed_parse_caps):  Fix caps parsing.
(bug #140064)
2004-04-29 03:38:16 +00:00
Ronald S. Bultje
df0008971f ext/alsa/gstalsa.c: Don't probe for playback device if we're a source element. Fixes #139658.
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_class_probe_devices):
Don't probe for playback device if we're a source element. Fixes
#139658.
2004-04-29 00:40:14 +00:00
Benjamin Otte
77f14f9209 ext/mad/gstid3tag.c: rewrite buffer offset
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_handle_event),
(gst_id3_tag_chain):
rewrite buffer offset
2004-04-29 00:13:16 +00:00
Ronald S. Bultje
aa31694595 New DTS decoder.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/dts/Makefile.am:
* ext/dts/gstdtsdec.c: (gst_dtsdec_get_type),
(gst_dtsdec_base_init), (gst_dtsdec_class_init), (gst_dtsdec_init),
(gst_dtsdec_channels), (gst_dtsdec_renegotiate),
(gst_dtsdec_handle_event), (gst_dtsdec_update_streaminfo),
(gst_dtsdec_loop), (gst_dtsdec_change_state),
(gst_dtsdec_set_property), (gst_dtsdec_get_property),
(plugin_init):
* ext/dts/gstdtsdec.h:
New DTS decoder.
* ext/faad/gstfaad.c: (gst_faad_sinkconnect),
(gst_faad_srcconnect):
Add ESDS atom handling (.m4a).
2004-04-29 00:00:25 +00:00
Ronald S. Bultje
cf31f62b17 ext/divx/gstdivxdec.c: Remove comment that makes no sense.
Original commit message from CVS:
* ext/divx/gstdivxdec.c: (plugin_init):
Remove comment that makes no sense.
* ext/mad/gstid3tag.c: (gst_id3_tag_set_property):
Fix for obvious typo that resulted in warnings during gst-register.
* ext/xvid/gstxviddec.c: (gst_xviddec_src_link),
(gst_xviddec_sink_link):
Fix caps negotiation a bit better.
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
We call this 'codec_data', not 'esds'.
2004-04-28 03:13:48 +00:00
Benjamin Otte
76aad24148 gst/monoscope/gstmonoscope.c: make sure we only provide 256x128
Original commit message from CVS:
* gst/monoscope/gstmonoscope.c:
make sure we only provide 256x128
* gst/monoscope/monoscope.c: (monoscope_init):
assert size of 256x128
2004-04-27 15:59:57 +00:00
Thomas Vander Stichele
e77412eaf0 use max width and height for fixation
Original commit message from CVS:
use max width and height for fixation
2004-04-27 15:08:27 +00:00
Thomas Vander Stichele
21dadc6449 fix v4l for qc-usb webcams
Original commit message from CVS:
fix v4l for qc-usb webcams
2004-04-27 11:33:52 +00:00
Thomas Vander Stichele
220f6adf6c add num-buffers property
Original commit message from CVS:
add num-buffers property
2004-04-27 09:42:45 +00:00
Benjamin Otte
71c057b0f2 ext/mad/gstid3tag.c: set id3mux rank to NONE so it doesn't confuse spider require audio/mpeg,mpegversion=1 in id3mux
Original commit message from CVS:
* ext/mad/gstid3tag.c: (plugin_init):
set id3mux rank to NONE so it doesn't confuse spider
require audio/mpeg,mpegversion=1 in id3mux
2004-04-26 20:38:12 +00:00
Benjamin Otte
0ca09a71c4 configure.ac: detect faad correctly as non-working if it's indeed non-working
Original commit message from CVS:
* configure.ac:
detect faad correctly as non-working if it's indeed non-working
2004-04-26 18:03:19 +00:00
Thomas Vander Stichele
68658256e7 fix jpeg getcaps so it negotiates correctly
Original commit message from CVS:
fix jpeg getcaps so it negotiates correctly
2004-04-26 13:47:38 +00:00
Benjamin Otte
1cd4212d70 gst/audioconvert/gstaudioconvert.c: fix memleak
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int):
fix memleak
2004-04-25 17:56:11 +00:00
Benjamin Otte
c17acf4260 gst-libs/gst/riff/riff-media.c: audio/x-raw-int with height rules! not. Now it's depth.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
audio/x-raw-int with height rules! not. Now it's depth.
2004-04-23 02:32:58 +00:00
Ronald S. Bultje
5a24cfe7fc gst/wavparse/gstwavparse.c: Missing variable initialization. Add handling of DVI ADPCM. Fix mis-parsing of LIST chunk...
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_create_sourcepad),
(gst_wavparse_parse_fmt), (gst_wavparse_handle_sink_event),
(gst_wavparse_loop):
Missing variable initialization. Add handling of DVI ADPCM. Fix
mis-parsing of LIST chunks. This works around a bug where we mis-
parse non-aligning LIST chunks (so LIST chunks where the contents
don't align with the actual LIST size). The correct fix is to use
rifflib, I'm not going to fix wavparse - too much work. All this
fixes #104878.
2004-04-23 00:47:41 +00:00
Benjamin Otte
2a0fbe000f ext/shout/gstshout.c: fix shoutcast not working (fixes #140844)
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* ext/shout/gstshout.c: (gst_icecastsend_change_state):
fix shoutcast not working (fixes #140844)
2004-04-22 15:50:05 +00:00
Benjamin Otte
29e86d6493 s/gst_caps_simplify/gst_caps_do_simplify/
Original commit message from CVS:
* ext/hermes/gsthermescolorspace.c:
(gst_hermes_colorspace_caps_remove_format_info):
* gst/colorspace/gstcolorspace.c:
(gst_colorspace_caps_remove_format_info):
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_caps_remove_format_info):
s/gst_caps_simplify/gst_caps_do_simplify/
2004-04-22 03:52:53 +00:00
Benjamin Otte
0f6862668b gst-libs/gst/riff/riff-media.c: mpegversion is an int
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data):
mpegversion is an int
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_base_init):
don't try to create pad templates with NULL caps, use any caps
instead.
2004-04-22 03:29:01 +00:00
David Schleef
b14bbb96e8 ext/sdl/Makefile.am: Link against libgstinterfaces, not libgstxoverlay. jmmv@menta.net (Julio M. Merino Vidal) (bug ...
Original commit message from CVS:
* ext/sdl/Makefile.am: Link against libgstinterfaces, not
libgstxoverlay.  jmmv@menta.net (Julio M. Merino Vidal)
(bug #140384)
2004-04-21 00:30:03 +00:00
David Schleef
80a61322ef ext/mad/gstid3tag.c: Add stdlib.h
Original commit message from CVS:
reviewed by David Schleef
* ext/mad/gstid3tag.c: Add stdlib.h
* gst/rtp/gstrtpgsmenc.c: same
* gst/tags/gstid3tag.c: same
* gst/udp/gstudpsrc.c: (gst_udpsrc_get): Fix GST_DISABLE_LOADSAVE
* gst/tcp/gsttcpsink.c: (gst_tcpsink_sink_link): Adjust
GST_DISABLE_LOADSAVE use.
* gst/udp/gstudpsink.c: (gst_udpsink_sink_link): Likewise.
* gst/tcp/gsttcpsrc.c: (gst_tcpsrc_get): Likewise.
* ext/gnomevfs/gstgnomevfssrc.c: Include <stdlib.h> (needed by
atol(3)).
* sys/oss/gstosselement.h: Include <sys/types.h> (needed for dev_t).
* gst/tags/gstvorbistag.c: Include <stdlib.h> (needed by
strtoul(3)).
* gst/rtp/gstrtpL16enc.c: Include <stdlib.h> (needed by random(3)).
* ext/mad/Makefile.am: (libgstmad_la_CFLAGS): Add $(MAD_CFLAGS)
$(ID3_CFLAGS).
* ext/libfame/Makefile.am: (libgstlibfame_la_CFLAGS): Add
$(LIBFAME_CFLAGS).
2004-04-20 23:03:28 +00:00
David Schleef
d9141f9b11 gst/realmedia/rmdemux.c: This was supposed to part of the last checkin. Same idea.
Original commit message from CVS:
* gst/realmedia/rmdemux.c:  This was supposed to part of the
last checkin.  Same idea.
2004-04-20 21:05:40 +00:00
David Schleef
df3fa511a7 configure.ac: bump required gstreamer version to 0.8.1.1 because of following changes [--ds]
Original commit message from CVS:
reviewed by David Schleef
* configure.ac: bump required gstreamer version to 0.8.1.1
because of following changes [--ds]
* gst-libs/gst/riff/riff-read.c:  Include gst/gstutils.h.
(gst_riff_peek_head, gst_riff_peek_list, gst_riff_read_list)
(gst_riff_read_header):  Use GST_READ_UINT*
macros to access possibly unaligned memory.
* gst/typefind/gsttypefindfunctions.c: Include gst/gstutils.h.
(mp3_type_find):  Use GST_READ_UINT*
macros to access possibly unaligned memory.
(mp3_type_find, mpeg1_parse_header, qt_type_find)
(speex_type_find): Likewise
* gst/tags/gstvorbistag.c: (ADVANCE): Likewise
* gst/qtdemux/qtdemux.c: Include stdlib.h (needed by realloc).
(QTDEMUX_GUINT32_GET, QTDEMUX_GUINT16_GET, QTDEMUX_FP32_GET)
(QTDEMUX_FP16_GET, QTDEMUX_FOURCC_GET)
(gst_qtdemux_loop_header, gst_qtdemux_loop_header)
(qtdemux_node_dump_foreach, qtdemux_tree_get_child_by_type)
(qtdemux_tree_get_sibling_by_type):  Use GST_READ_UINT*
macros to access possibly unaligned memory.
* gst/mpegstream/gstmpegpacketize.c: (parse_generic, parse_chunk):
Likewise.
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead)
(gst_mpeg_demux_parse_packet, gst_mpeg_demux_parse_pes): Likewise.
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain):
Likewise.
* gst/mpeg2sub/gstmpeg2subt.c: (GST_BUFFER_DATA)
(gst_mpeg2subt_chain_subtitle): Likewise.
* gst/mpeg1videoparse/gstmp1videoparse.c: (mp1videoparse_parse_seq)
(gst_mp1videoparse_time_code, gst_mp1videoparse_real_chain):
Likewise.
* gst/mpeg1sys/buffer.c: (mpeg1mux_buffer_update_audio_info):
Likewise.
* gst/cdxaparse/gstcdxaparse.c: (gst_bytestream_peek_bytes):
Likewise.
* gst/asfdemux/gstasfdemux.c: (_read_var_length, _read_uint):
Likewise.
2004-04-20 21:04:21 +00:00
Thomas Vander Stichele
aaa6aacfb3 up required gst version fix po download snippet
Original commit message from CVS:
up required gst version
fix po download snippet
2004-04-20 16:07:04 +00:00
Benjamin Otte
26cc5e8768 ext/mad/gstid3tag.c: remove leftover g_print
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_init):
remove leftover g_print
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
don't try setting only a subset of the caps. We don't want to kill
autoplugging on purpose
2004-04-20 15:51:48 +00:00
Thomas Vander Stichele
4b27299a4a add debugging categories
Original commit message from CVS:
add debugging categories
2004-04-20 15:45:07 +00:00
Thomas Vander Stichele
a983e1622b adding english translation
Original commit message from CVS:
adding english translation
2004-04-20 11:21:49 +00:00
David Schleef
5e75dfe5ef gst/qtdemux/qtdemux.c: A number of new features and hacks to extract the esds atom and put it into the caps. (bug #1...
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_sink_event),
(qtdemux_parse), (qtdemux_type_get), (qtdemux_dump_mvhd),
(qtdemux_dump_tkhd), (qtdemux_dump_stsd), (qtdemux_dump_unknown),
(qtdemux_parse_trak), (qtdemux_video_caps), (qtdemux_audio_caps):
A number of new features and hacks to extract the esds atom and
put it into the caps.  (bug #137724)
2004-04-20 08:27:15 +00:00
David Schleef
3e84dfa539 gconf/Makefile.am: Fix for non-GNU make
Original commit message from CVS:
* gconf/Makefile.am: Fix for non-GNU make
* gst-libs/gst/Makefile.am: Change directory order to handle
GstPlay linking with gstinterfaces
* gst-libs/gst/audio/make_filter: make use of tr portable
* gst-libs/gst/play/Makefile.am: Add intended \
* gst-libs/gst/xwindowlistener/xwindowlistener.c:
(gst_xwin_set_clips): Switch to ISO variadic macro. Use a
function prototype instead of void *.
* gst/ffmpegcolorspace/gstffmpegcodecmap.c: Switch to ISO variadic
macro.
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_chain): wrap NULL in GST_ELEMENT_ERROR call
* gst/videofilter/make_filter: make use of tr portable
* pkgconfig/Makefile.am: Remove GNU extension in Makefile target
2004-04-19 22:51:57 +00:00
Thomas Vander Stichele
575790a918 adding ukrainian translation
Original commit message from CVS:
adding ukrainian translation
2004-04-19 13:50:14 +00:00
Ronald S. Bultje
12caf56e44 ext/gsm/gstgsmdec.c: Fix capsnego, simplify chain function slightly.
Original commit message from CVS:
* ext/gsm/gstgsmdec.c: (gst_gsmdec_init), (gst_gsmdec_getcaps),
(gst_gsmdec_link), (gst_gsmdec_chain):
Fix capsnego, simplify chain function slightly.
* gst/qtdemux/qtdemux.c: (qtdemux_audio_caps):
Add GSM.
2004-04-19 02:00:24 +00:00
Ronald S. Bultje
dab7534fcf gst/wavparse/gstwavparse.c: Hack to make wavparse work with spider (always -> sometimes pad).
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_init),
(gst_wavparse_destroy_sourcepad), (gst_wavparse_create_sourcepad),
(gst_wavparse_parse_fmt), (gst_wavparse_change_state):
Hack to make wavparse work with spider (always -> sometimes pad).
Fixes #135862 && #140411.
2004-04-18 23:40:34 +00:00
Benjamin Otte
383c281c4e sys/oss/gstosselement.c: get rid of \n in debug output
Original commit message from CVS:
* sys/oss/gstosselement.c: (gst_osselement_sync_parms),
(gst_osselement_rate_probe_check),
(gst_osselement_rate_check_rate), (gst_osselement_rate_add_rate):
get rid of \n in debug output
2004-04-18 20:14:36 +00:00
Iain Holmes
4069bc7967 Allow all events, not just EOS
Original commit message from CVS:
Allow all events, not just EOS
2004-04-17 22:33:37 +00:00
Benjamin Otte
614a71f04b ext/mad/gstid3tag.c: deprecate id3tag element and replace with id3demux/id3mux.
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_get_type),
(gst_id3_tag_class_init), (gst_id3_tag_get_caps),
(gst_id3_tag_add_src_pad), (gst_id3_tag_init),
(gst_id3_tag_set_property), (gst_id3_tag_do_caps_nego),
(gst_id3_tag_src_link), (gst_id3_tag_chain),
(gst_id3_tag_change_state), (plugin_init):
deprecate id3tag element and replace with id3demux/id3mux.
great side effect: this ugly file is now even uglier, yay!
* ext/mad/gstmad.h:
remove non-available function
update for new get_type
2004-04-17 17:52:35 +00:00
Benjamin Otte
5236072df3 configure.ac: require mpeg2dec >= 0.4.0
Original commit message from CVS:
* configure.ac:
require mpeg2dec >= 0.4.0
2004-04-17 03:40:37 +00:00
Benjamin Otte
0d88bf0a00 sys/xvimage/xvimagesink.c: call GST_ELEMENT_ERROR whenever get_xcontext fails. Includes assorted cleanup fixes.
Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support),
(gst_xvimagesink_xcontext_get), (gst_xvimagesink_change_state),
(gst_xvimagesink_set_xwindow_id):
call GST_ELEMENT_ERROR whenever get_xcontext fails. Includes
assorted cleanup fixes.
2004-04-17 02:30:28 +00:00
David Schleef
4bdad4d6a9 sys/ximage/ximagesink.h: Compile fix for FreeBSD. (bug #140268)
Original commit message from CVS:
* sys/ximage/ximagesink.h: Compile fix for FreeBSD. (bug #140268)
* sys/xvimage/xvimagesink.h: same
2004-04-16 23:42:12 +00:00
Thomas Vander Stichele
f9e831a09b fix wrong use of GST_ELEMENT_ERROR
Original commit message from CVS:
fix wrong use of GST_ELEMENT_ERROR
2004-04-16 17:01:15 +00:00
Ronald S. Bultje
1c3add3521 gst-libs/gst/riff/riff-media.c: Add div[3456] as fourccs for DivX 3 (fixes #140137).
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data):
Add div[3456] as fourccs for DivX 3 (fixes #140137).
2004-04-16 01:43:13 +00:00
Ronald S. Bultje
38e6fccd41 gst/: Add MS RLE support. I added some functions to read out strf chunks into strf chunks and the data behind it. Thi...
Original commit message from CVS:
reviewed by: <delete if not using a buddy>
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_caps), (gst_riff_create_audio_caps),
(gst_riff_create_video_template_caps),
(gst_riff_create_audio_template_caps):
* gst-libs/gst/riff/riff-media.h:
* gst-libs/gst/riff/riff-read.c:
(gst_riff_read_strf_vids_with_data), (gst_riff_read_strf_vids):
* gst-libs/gst/riff/riff-read.h:
* gst/avi/gstavidemux.c: (gst_avi_demux_add_stream):
Add MS RLE support. I added some functions to read out strf chunks
into strf chunks and the data behind it. This is usually color
palettes (as in RLE, but also in 8-bit RGB). Also use those during
caps creation. Lastly, add ADPCM (similar to wavparse - which
should eventually be rifflib based).
* gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init),
(gst_matroska_demux_init), (gst_matroska_demux_reset):
* gst/matroska/matroska-demux.h:
Remove placeholders for some prehistoric tagging system. Didn't add
support for any tag system really anyway.
* gst/qtdemux/qtdemux.c:
Add support for audio/x-m4a (MPEG-4) through spider.
* gst/wavparse/gstwavparse.c: (gst_wavparse_parse_fmt),
(gst_wavparse_loop):
ADPCM support (#135862). Increase max. buffer size because we
cannot split buffers for ADPCM (screws references) and I've seen
files with 2048 byte chunks. 4096 seems safe for now.
2004-04-16 01:20:43 +00:00
Thomas Vander Stichele
38fef72250 bump nano to 1
Original commit message from CVS:
bump nano to 1
2004-04-15 15:21:23 +00:00
Thomas Vander Stichele
f1c62ece9f releasing
Original commit message from CVS:
releasing
2004-04-15 15:16:31 +00:00
Thomas Vander Stichele
37014b348d nano bump for prerel add bug entry for a fixed bug translation updates
Original commit message from CVS:
nano bump for prerel
add bug entry for a fixed bug
translation updates
2004-04-15 10:00:37 +00:00
Ronald S. Bultje
2d7d24378e gst-libs/gst/riff/riff-media.c: Fix typo in divxversion (3 instead of 4 for "DIVX" fourcc).
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Fix typo in divxversion (3 instead of 4 for "DIVX" fourcc).
2004-04-15 03:21:14 +00:00
Thomas Vander Stichele
58230a6e71 bugzilla entries
Original commit message from CVS:
bugzilla entries
2004-04-14 17:08:34 +00:00
Thomas Vander Stichele
9606116058 use release
Original commit message from CVS:
use release
2004-04-14 16:46:36 +00:00
Thomas Vander Stichele
d3010a0c4f lower rank of dvddemux
Original commit message from CVS:
lower rank of dvddemux
2004-04-14 16:16:45 +00:00
Benjamin Otte
f13fcb23ec configure.ac: save libs correctly when checking mad
Original commit message from CVS:
* configure.ac:
save libs correctly when checking mad
2004-04-14 15:42:03 +00:00
Thomas Vander Stichele
824d5315c5 #139926 - lowers rank of id3tag
Original commit message from CVS:
#139926 - lowers rank of id3tag
2004-04-14 15:33:16 +00:00
David Schleef
10ea3863f0 common/m4/gst-feature.m4: Call -config scripts with
Original commit message from CVS:
* common/m4/gst-feature.m4: Call -config scripts with
--plugin-libs if it is supported.
* gst/avi/gstavimux.c: (gst_avimux_vidsinkconnect): sequences of
JPEG images are image/jpeg.
* gst/debug/Makefile.am:
* gst/debug/negotiation.c: (gst_negotiation_class_init),
(gst_negotiation_getcaps), (gst_negotiation_pad_link),
(gst_negotiation_update_caps), (gst_negotiation_get_property),
(gst_negotiation_plugin_init): Add a property that acts like
filter caps.
* testsuite/gst-lint:  Move license checking to be a standard
test.
2004-04-13 23:25:19 +00:00
Sebastien Cote
a019372724 gst/avi/gstavidemux.c: Fix memleak. patch from Sebastien Cote (bug #139958)
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_reset): Fix memleak.
patch from Sebastien Cote (bug #139958)
2004-04-13 21:34:28 +00:00
Thomas Vander Stichele
09930eaf71 make player example use gconf
Original commit message from CVS:
make player example use gconf
2004-04-13 13:41:20 +00:00
Thomas Vander Stichele
8e08204577 only open/close library during state changes, not creation/disposal
Original commit message from CVS:
only open/close library during state changes, not creation/disposal
2004-04-13 12:17:21 +00:00
Christian Schaller
b4e30f08a7 s/lstat/stat/ since it can be a symlink, ask decadix on IRC if you have questiosn
Original commit message from CVS:
s/lstat/stat/ since it can be a symlink, ask decadix on IRC if you have questiosn
2004-04-12 19:41:33 +00:00
Ronald S. Bultje
888315ae6c gst/avi/gstavidemux.c: Handle JUNK chunks inside data section. Prevents warnings.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_data):
Handle JUNK chunks inside data section. Prevents warnings.
2004-04-11 22:09:25 +00:00
Ronald S. Bultje
7897fe29b9 gst-libs/gst/riff/riff-media.c: Add MS video v1.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
Add MS video v1.
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
(gst_avi_demux_stream_data):
Add support for "rec-list" chunks.
2004-04-11 21:36:45 +00:00
Ronald S. Bultje
53d78b8a7b gst-libs/gst/riff/riff-media.c: Fix another codecname mismatch.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Fix another codecname mismatch.
2004-04-11 19:33:55 +00:00
Ronald S. Bultje
292a24d4cc gst-libs/gst/riff/riff-media.c: Fix divx caps mismatch and move from video/x-jpeg to image/jpeg so that MJPEG plays b...
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Fix divx caps mismatch and move from video/x-jpeg to image/jpeg
so that MJPEG plays back.
2004-04-11 17:21:32 +00:00
Ronald S. Bultje
c69343a6f8 gst/mpeg1videoparse/gstmp1videoparse.*: Fix for some slight mis-cuts in buffer parsing, and for some potential overfl...
Original commit message from CVS:
* gst/mpeg1videoparse/gstmp1videoparse.c: (gst_mp1videoparse_init),
(gst_mp1videoparse_real_chain), (gst_mp1videoparse_change_state):
* gst/mpeg1videoparse/gstmp1videoparse.h:
Fix for some slight mis-cuts in buffer parsing, and for some
potential overflows or faults-causers. Adds disconts. Also fixes
#139105 while we're at it.
2004-04-10 22:40:50 +00:00
Ronald S. Bultje
3dd5488a8c Workaround for missing struct v4l2_buffer declaration in Suse 9 and Mandrake 10 linux/videodev2.h header file (#135919).
Original commit message from CVS:
* configure.ac:
* sys/v4l2/gstv4l2element.h:
Workaround for missing struct v4l2_buffer declaration in Suse 9
and Mandrake 10 linux/videodev2.h header file (#135919).
2004-04-10 13:27:16 +00:00
Ronald S. Bultje
f711e918b4 ext/gnomevfs/gstgnomevfssink.c: Bail out if no filename was given.
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_open_file):
Bail out if no filename was given.
2004-04-10 13:07:31 +00:00
Ronald S. Bultje
d4072e083c sys/v4l2/gstv4l2src.c: fix Y41P (was typo'ed to
Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps),
(gst_v4l2_fourcc_from_structure):
Add Y41B/Y42B YUV formats (see #125732), fix Y41P (was typo'ed to
Y41B somewhere).
2004-04-10 12:20:20 +00:00
Benjamin Otte
50d120f1ba ext/gnomevfs/gstgnomevfssink.c: fix erase signal - if any handler returns false the file will not be overwritten. If ...
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c:
(_gst_boolean_allow_overwrite_accumulator),
(gst_gnomevfssink_class_init):
fix erase signal - if any handler returns false the file will not be
overwritten. If no handler is connected, the file will not be
overwritten either.
renamed signal to "allow-overwrite"
* ext/mad/gstid3tag.c: (tag_list_to_id3_tag_foreach):
free string when adding it to ID3 failed
* ext/vorbis/vorbisdec.c: (vorbis_dec_event):
unref event when done
* gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int):
free caps
* gst/typefind/gsttypefindfunctions.c:
(mpeg_video_stream_type_find):
fix invalid read
2004-04-09 18:55:10 +00:00
David Schleef
d181fbe567 gst/ffmpegcolorspace/gstffmpegcolorspace.c: Change rank to PRIMARY.
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcolorspace_register): Change rank to PRIMARY.
2004-04-09 00:04:38 +00:00
David Schleef
f02396a02b gst/colorspace/gstcolorspace.c: Don't advertise a conversion we don't support (bug #139532)
Original commit message from CVS:
* gst/colorspace/gstcolorspace.c: Don't advertise a conversion
we don't support (bug #139532)
2004-04-09 00:01:44 +00:00
Thomas Vander Stichele
b2ed33fcae do not change caps in middle of stream except on new streams fixes #139382
Original commit message from CVS:
do not change caps in middle of stream except on new streams
fixes #139382
2004-04-07 15:48:40 +00:00
Ronald S. Bultje
2f7f80baf3 ext/gnomevfs/gstgnomevfssink.c: Fix erase signal. Don't erase by default. Remove handoff signal.
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnomevfssink_base_init),
(_gst_boolean_did_something_accumulator),
(gst_gnomevfssink_class_init), (gst_gnomevfssink_dispose),
(gst_gnomevfssink_init), (gst_gnomevfssink_set_property),
(gst_gnomevfssink_get_property), (gst_gnomevfssink_open_file),
(gst_gnomevfssink_close_file), (gst_gnomevfssink_chain),
(gst_gnomevfssink_change_state):
Fix erase signal. Don't erase by default. Remove handoff signal.
Remove erase property. Don't segfault. General cleanup.
2004-04-07 01:41:58 +00:00
Benjamin Otte
253562933c gst-libs/gst/gconf/test-gconf.c: add missing gst_init
Original commit message from CVS:
* gst-libs/gst/gconf/test-gconf.c: (main):
add missing gst_init
2004-04-07 00:54:03 +00:00
Benjamin Otte
f9eeda8ad2 ext/gnomevfs/gstgnomevfssrc.c: free the mutexes, too
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_dispose):
free the mutexes, too
2004-04-07 00:42:10 +00:00
Benjamin Otte
e6cf95ecfe ext/gnomevfs/gstgnomevfssrc.c: actually free the URI string
Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnomevfssrc_dispose):
actually free the URI string
* ext/mad/gstid3tag.c: (gst_id3_tag_src_event):
compute offset correctly when passing discont events
* ext/mad/gstid3tag.c: (gst_id3_tag_handle_event):
don't leak discont events
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_video_caps):
add some missing breaks so caps aren't copied randomly
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_get_video_stream):
if we realloc memory, we better use it
2004-04-06 23:46:00 +00:00
Benjamin Otte
91cf19010d ext/mad/gstmad.c: fix GST_FORMAT_TIME usage
Original commit message from CVS:
* ext/mad/gstmad.c: (normal_seek):
fix GST_FORMAT_TIME usage
2004-04-06 06:03:30 +00:00