platform/upstream/gst-plugins-base.git
19 years agogst/audioconvert/bufferframesconvert.c
Andy Wingo [Fri, 4 Feb 2005 15:40:38 +0000 (15:40 +0000)]
gst/audioconvert/bufferframesconvert.c

Original commit message from CVS:
2005-02-04  Andy Wingo  <wingo@pobox.com>

* gst/audioconvert/bufferframesconvert.c
(buffer_frames_convert_fixate): New function, fixates to 256
frames per buffer by default. (Much better than 1.)
(buffer_frames_convert_init): Set the fixate function for both src
and sink pad.
(buffer_frames_convert_link): After success setting nonfixed caps,
get the negotiated caps so we can know how many buffer-frames it
will be. No idea how this worked at all before.

19 years agoext/mpeg2dec/gstmpeg2dec.*: Rearrange buffer tracking and refcounting and refactor...
Jan Schmidt [Fri, 4 Feb 2005 13:43:27 +0000 (13:43 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: Rearrange buffer tracking and refcounting and refactor a little for readability.

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_init),
(gst_mpeg2dec_close_decoder), (put_buffer), (check_buffer),
(free_buffer), (free_all_buffers), (gst_mpeg2dec_alloc_buffer),
(handle_sequence), (handle_picture):
* ext/mpeg2dec/gstmpeg2dec.h:
Rearrange buffer tracking and refcounting and refactor
a little for readability.

19 years agosys/v4l/: Add new v4ljpegsrc for handling the ov51x hacky "I'll give you jpeg inside...
Jan Schmidt [Thu, 3 Feb 2005 18:23:17 +0000 (18:23 +0000)]
sys/v4l/: Add new v4ljpegsrc for handling the ov51x hacky "I'll give you jpeg inside rgb frames" driver.

Original commit message from CVS:
* sys/v4l/gstv4l.c: (plugin_init):
* sys/v4l/gstv4ljpegsrc.c: (gst_v4ljpegsrc_get_type),
(gst_v4ljpegsrc_base_init), (gst_v4ljpegsrc_class_init),
(gst_v4ljpegsrc_init), (gst_v4ljpegsrc_src_link),
(gst_v4ljpegsrc_getcaps), (gst_v4ljpegsrc_get):
* sys/v4l/gstv4ljpegsrc.h:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_open), (gst_v4lsrc_src_link):
* sys/v4l/v4l_calls.h:
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_palette_name),
(gst_v4lsrc_get_fps):
* sys/v4l/v4lsrc_calls.h:
Add new v4ljpegsrc for handling the ov51x hacky "I'll give
you jpeg inside rgb frames" driver.
Don't error in the v4lsrc link function, just return
REFUSED.

19 years agosys/qcam/gstqcamsrc.c: Use GST_ELEMENT_ERROR, not g_warning, if open failed.
Ronald S. Bultje [Thu, 3 Feb 2005 12:15:59 +0000 (12:15 +0000)]
sys/qcam/gstqcamsrc.c: Use GST_ELEMENT_ERROR, not g_warning, if open failed.

Original commit message from CVS:
* sys/qcam/gstqcamsrc.c: (gst_qcamsrc_change_state),
(gst_qcamsrc_open):
Use GST_ELEMENT_ERROR, not g_warning, if open failed.

19 years agogst/qtdemux/qtdemux.c: Change caps on MJPEG-B so it doesn't interfere with MJPEG...
Ronald S. Bultje [Wed, 2 Feb 2005 17:22:59 +0000 (17:22 +0000)]
gst/qtdemux/qtdemux.c: Change caps on MJPEG-B so it doesn't interfere with MJPEG/JPEG.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Change caps on MJPEG-B so it doesn't interfere with MJPEG/JPEG.

19 years agoext/raw1394/gstdv1394src.c: Reset negotiated state on PAUSED->READY.
Ronald S. Bultje [Wed, 2 Feb 2005 16:59:23 +0000 (16:59 +0000)]
ext/raw1394/gstdv1394src.c: Reset negotiated state on PAUSED->READY.

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_change_state):
Reset negotiated state on PAUSED->READY.

19 years agoconfigure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes...
David Schleef [Wed, 2 Feb 2005 08:14:01 +0000 (08:14 +0000)]
configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible.  (Fixes #165997)

Original commit message from CVS:
* configure.ac: Put DEFAULT_AUDIOSINK in config.h and use
whereever possible.  (Fixes #165997)
* examples/capsfilter/capsfilter1.c: (main):
* examples/dynparams/filter.c: (create_ui):
* examples/seeking/cdparanoia.c: (get_track_info), (main):
* examples/seeking/chained.c: (main):
* examples/seeking/seek.c: (make_mod_pipeline), (make_dv_pipeline),
(make_wav_pipeline), (make_flac_pipeline), (make_sid_pipeline),
(make_vorbis_pipeline), (make_mp3_pipeline), (make_avi_pipeline),
(make_mpeg_pipeline), (make_mpegnt_pipeline):
* examples/seeking/spider_seek.c: (make_spider_pipeline):
* examples/switch/switcher.c: (main):
* ext/dv/demo-play.c: (main):
* ext/faad/gstfaad.c: (gst_faad_change_state):
* ext/mad/gstmad.c: (gst_mad_chain):
* ext/smoothwave/demo-osssrc.c: (main):
* gst-libs/gst/gconf/gconf.c: (gst_gconf_set_string),
(gst_gconf_render_bin_from_description),
(gst_gconf_get_default_audio_sink),
(gst_gconf_get_default_video_sink),
(gst_gconf_get_default_audio_src),
(gst_gconf_get_default_video_src),
(gst_gconf_get_default_visualization_element):
* gst/level/demo.c: (main):
* gst/level/plot.c: (main):
* gst/playback/gstplaybin.c: (gen_video_element),
(gen_audio_element):
* gst/playback/test.c: (gen_video_element), (gen_audio_element):
* gst/playondemand/demo-mp3.c: (setup_pipeline):
* gst/sine/demo-dparams.c: (main):
* gst/spectrum/demo-osssrc.c: (main):
* gst/speed/demo-mp3.c: (main):
* gst/volume/demo.c: (main):
* testsuite/embed/embed.c: (main):

19 years agogst/tcp/: Don't leak the hostname when shutting down.
Jan Schmidt [Wed, 2 Feb 2005 06:26:15 +0000 (06:26 +0000)]
gst/tcp/: Don't leak the hostname when shutting down.

Original commit message from CVS:
* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_class_init),
(gst_tcpclientsink_finalize):
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_class_init),
(gst_tcpclientsrc_finalize):
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init),
(gst_tcpserversink_init), (gst_tcpserversink_finalize):
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_class_init),
(gst_tcpserversrc_init), (gst_tcpserversrc_finalize):
Don't leak the hostname when shutting down.
In tcpserversrc, take a copy of the default hostname.

19 years agoext/raw1394/gstdv1394src.c: Set caps to systemstream=TRUE.
Ronald S. Bultje [Tue, 1 Feb 2005 22:06:17 +0000 (22:06 +0000)]
ext/raw1394/gstdv1394src.c: Set caps to systemstream=TRUE.

Original commit message from CVS:
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_iso_receive):
Set caps to systemstream=TRUE.

19 years agotestsuite/Makefile.am: Fix more OSX buildbots.
Ronald S. Bultje [Tue, 1 Feb 2005 18:13:20 +0000 (18:13 +0000)]
testsuite/Makefile.am: Fix more OSX buildbots.

Original commit message from CVS:
* testsuite/Makefile.am:
Fix more OSX buildbots.

19 years agoext/mpeg2dec/gstmpeg2dec.c: Don't send things to NULL PAD_PEERs
Jan Schmidt [Tue, 1 Feb 2005 16:40:09 +0000 (16:40 +0000)]
ext/mpeg2dec/gstmpeg2dec.c: Don't send things to NULL PAD_PEERs

Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c:
Don't send things to NULL PAD_PEERs

* gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_chain):
Copy-on-write the incoming buffer.

* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstmpegclock.h:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead),
(normal_seek), (gst_mpeg_demux_handle_src_event):
* gst/mpegstream/gstmpegdemux.h:
* gst/mpegstream/gstmpegpacketize.h:
* gst/mpegstream/gstmpegparse.c:
(gst_mpeg_parse_update_streaminfo), (gst_mpeg_parse_reset),
(gst_mpeg_parse_handle_discont), (gst_mpeg_parse_parse_packhead),
(gst_mpeg_parse_loop), (gst_mpeg_parse_get_rate),
(gst_mpeg_parse_convert_src), (gst_mpeg_parse_handle_src_query),
(gst_mpeg_parse_handle_src_event), (gst_mpeg_parse_change_state):
* gst/mpegstream/gstmpegparse.h:
* gst/mpegstream/gstrfc2250enc.h:
Various changes to the way time is computed that make seeking and
total time estimation much better here.
Use G_BEGIN/END_DECLS instead of __cplusplus

* gst/videocrop/gstvideocrop.c: (gst_video_crop_chain):
Use gst_buffer_stamp instead of only copying the TIMESTAMP

19 years agogst/subparse/gstsubparse.c: Fix OSX buildbot.
Ronald S. Bultje [Tue, 1 Feb 2005 15:04:07 +0000 (15:04 +0000)]
gst/subparse/gstsubparse.c: Fix OSX buildbot.

Original commit message from CVS:
* gst/subparse/gstsubparse.c:
Fix OSX buildbot.

19 years agofile NOTE was initially added on branch BRANCH-THREADED.
Ronald S. Bultje [Tue, 1 Feb 2005 10:23:22 +0000 (10:23 +0000)]
file NOTE was initially added on branch BRANCH-THREADED.

Original commit message from CVS:
file NOTE was initially added on branch BRANCH-THREADED.

19 years agoSet granulepos and timestamp correctly for streams not starting at 0, taking into...
Tim-Philipp Müller [Mon, 31 Jan 2005 19:23:08 +0000 (19:23 +0000)]
Set granulepos and timestamp correctly for streams not starting at 0, taking into account the initial delay

Original commit message from CVS:
Set granulepos and timestamp correctly for streams not starting at 0, taking into account the initial delay

19 years agoAdd audio/x-dts to audio pad template caps
Tim-Philipp Müller [Mon, 31 Jan 2005 18:39:32 +0000 (18:39 +0000)]
Add audio/x-dts to audio pad template caps

Original commit message from CVS:
Add audio/x-dts to audio pad template caps

19 years agoext/polyp/polypsink.c: Fix silly endianness bug. Add some debugging. Remove float...
David Schleef [Mon, 31 Jan 2005 01:55:03 +0000 (01:55 +0000)]
ext/polyp/polypsink.c: Fix silly endianness bug.  Add some debugging.  Remove float from caps; it doesn't work.  Atte...

Original commit message from CVS:
* ext/polyp/polypsink.c: (gst_polypsink_base_init),
(create_context), (gst_polypsink_link): Fix silly endianness
bug.  Add some debugging.  Remove float from caps; it doesn't
work.  Attempt to get remote audio working.

19 years agogst/qtdemux/qtdemux.c: Add 3IV2 fourcc.
Ronald S. Bultje [Sat, 29 Jan 2005 20:31:46 +0000 (20:31 +0000)]
gst/qtdemux/qtdemux.c: Add 3IV2 fourcc.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
Add 3IV2 fourcc.

19 years agogst/avi/gstavidemux.*: Invert DIB images. Fixes #132341.
Ronald S. Bultje [Sat, 29 Jan 2005 15:47:17 +0000 (15:47 +0000)]
gst/avi/gstavidemux.*: Invert DIB images. Fixes #132341.

Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_add_stream), (swap_line),
(gst_avi_demux_invert), (gst_avi_demux_process_next_entry),
(gst_avi_demux_stream_data):
* gst/avi/gstavidemux.h:
Invert DIB images. Fixes #132341.

19 years agogst/ffmpegcolorspace/gstffmpegcolorspace.c: D'oh, reference the palette data, not...
Ronald S. Bultje [Sat, 29 Jan 2005 15:24:38 +0000 (15:24 +0000)]
gst/ffmpegcolorspace/gstffmpegcolorspace.c: D'oh, reference the palette data, not the palette structure.

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_chain):
D'oh, reference the palette data, not the palette structure.
Fixes color distortion in #132341.

19 years agogst/videoscale/gstvideoscale.c: PAR can be non-fixed when not provided as argument...
Ronald S. Bultje [Sat, 29 Jan 2005 13:24:33 +0000 (13:24 +0000)]
gst/videoscale/gstvideoscale.c: PAR can be non-fixed when not provided as argument (#162626).

Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: (gst_videoscale_link):
PAR can be non-fixed when not provided as argument (#162626).

19 years agogst/qtdemux/qtdemux.c: Re-apply patch from #142272 that allows non-seekable sources,
Ronald S. Bultje [Sat, 29 Jan 2005 12:55:18 +0000 (12:55 +0000)]
gst/qtdemux/qtdemux.c: Re-apply patch from #142272 that allows non-seekable sources,

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_loop_header):
Re-apply patch from #142272 that allows non-seekable sources,
re-proposed by Daniel Drake <dsd@gentoo.org>.

19 years agogst/rtp/gstrtpgsmenc.c: Use the src template for creating the src pad (#162330).
Ronald S. Bultje [Sat, 29 Jan 2005 12:43:55 +0000 (12:43 +0000)]
gst/rtp/gstrtpgsmenc.c: Use the src template for creating the src pad (#162330).

Original commit message from CVS:
* gst/rtp/gstrtpgsmenc.c: (gst_rtpgsmenc_init):
Use the src template for creating the src pad (#162330).

19 years agoUpdate to 1.1 API (#165446).
Ronald S. Bultje [Sat, 29 Jan 2005 01:28:34 +0000 (01:28 +0000)]
Update to 1.1 API (#165446).

Original commit message from CVS:
* configure.ac:
* ext/musepack/Makefile.am:
* ext/musepack/gstmusepackdec.c: (gst_musepackdec_class_init),
(gst_musepackdec_init), (gst_musepackdec_dispose),
(gst_musepackdec_src_query), (gst_musepackdec_src_convert),
(gst_musepack_stream_init), (gst_musepackdec_loop),
(gst_musepackdec_change_state):
* ext/musepack/gstmusepackdec.cpp:
* ext/musepack/gstmusepackdec.h:
* ext/musepack/gstmusepackreader.c: (gst_musepack_reader_peek),
(gst_musepack_reader_read), (gst_musepack_reader_seek),
(gst_musepack_reader_tell), (gst_musepack_reader_get_size),
(gst_musepack_reader_canseek), (gst_musepack_init_reader):
* ext/musepack/gstmusepackreader.cpp:
* ext/musepack/gstmusepackreader.h:
Update to 1.1 API (#165446).

19 years agoext/Makefile.am: Unbreak buildbot.
Ronald S. Bultje [Fri, 28 Jan 2005 19:59:40 +0000 (19:59 +0000)]
ext/Makefile.am: Unbreak buildbot.

Original commit message from CVS:
* ext/Makefile.am:
Unbreak buildbot.

19 years agoext/dv/gstdvdec.c: Change the pixel aspect ratio of dvdec output to reflect a differe...
Andy Wingo [Fri, 28 Jan 2005 17:35:13 +0000 (17:35 +0000)]
ext/dv/gstdvdec.c: Change the pixel aspect ratio of dvdec output to reflect a different dubious internet source. Add ...

Original commit message from CVS:
2005-01-28  Andy Wingo  <wingo@pobox.com>

* ext/dv/gstdvdec.c: Change the pixel aspect ratio of dvdec output
to reflect a different dubious internet source. Add a reference
and some commentary.

19 years agogst/playback/gststreamselector.*: Be more selective when we're redoing caps negotiati...
Ronald S. Bultje [Fri, 28 Jan 2005 13:44:04 +0000 (13:44 +0000)]
gst/playback/gststreamselector.*: Be more selective when we're redoing caps negotiation from within the chain functio...

Original commit message from CVS:
* gst/playback/gststreamselector.c: (gst_stream_selector_init),
(gst_stream_selector_get_caps), (gst_stream_selector_chain):
* gst/playback/gststreamselector.h:
Be more selective when we're redoing caps negotiation from
within the chain function on a stream change.

19 years agoAdd support for AMR-NB (mobile phone audio format; #155163, #163286).
Ronald S. Bultje [Fri, 28 Jan 2005 10:36:12 +0000 (10:36 +0000)]
Add support for AMR-NB (mobile phone audio format; #155163, #163286).

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/amrnb/Makefile.am:
* ext/amrnb/amrnb.c: (plugin_init):
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_get_type),
(gst_amrnbdec_base_init), (gst_amrnbdec_class_init),
(gst_amrnbdec_init), (gst_amrnbdec_link), (gst_amrnbdec_chain),
(gst_amrnbdec_state_change):
* ext/amrnb/amrnbdec.h:
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_get_type),
(gst_amrnbparse_base_init), (gst_amrnbparse_class_init),
(gst_amrnbparse_init), (gst_amrnbparse_formats),
(gst_amrnbparse_querytypes), (gst_amrnbparse_query),
(gst_amrnbparse_handle_event), (gst_amrnbparse_reserve),
(gst_amrnbparse_loop), (gst_amrnbparse_state_change):
* ext/amrnb/amrnbparse.h:
Add support for AMR-NB (mobile phone audio format; #155163, #163286).
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Add AMR-NB/-WB raw formats.
* ext/alsa/gstalsa.c: (gst_alsa_link):
Keep valid time when changing format.
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header),
(qtdemux_parse_trak):
Add some more format-specific options (#140141, #143555, #155163).

19 years agogst/matroska/matroska-demux.c: Fix logic error in timing of subtitle stream synchroni...
Ronald S. Bultje [Thu, 27 Jan 2005 23:30:17 +0000 (23:30 +0000)]
gst/matroska/matroska-demux.c: Fix logic error in timing of subtitle stream synchronization.

Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup):
Fix logic error in timing of subtitle stream synchronization.
* gst/typefind/gsttypefindfunctions.c: (qt_type_find):
Add skip-chunk, which is found in kodak-camera streams.

19 years agoadding vietnamese translation
Thomas Vander Stichele [Thu, 27 Jan 2005 16:44:02 +0000 (16:44 +0000)]
adding vietnamese translation

Original commit message from CVS:
adding vietnamese translation

19 years agogst/playback/gstdecodebin.c: Use realpad for signal.
Ronald S. Bultje [Thu, 27 Jan 2005 14:32:33 +0000 (14:32 +0000)]
gst/playback/gstdecodebin.c: Use realpad for signal.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (try_to_link_1):
Use realpad for signal.

19 years agoext/mad/gstid3demuxbin.c: Fix category so decodebin picks it up.
Ronald S. Bultje [Thu, 27 Jan 2005 13:37:38 +0000 (13:37 +0000)]
ext/mad/gstid3demuxbin.c: Fix category so decodebin picks it up.

Original commit message from CVS:
* ext/mad/gstid3demuxbin.c: (gst_id3demux_bin_base_init):
Fix category so decodebin picks it up.

19 years agoext/mad/: Add id3demuxbin (which is a simple bin consisting of id3demux and typefind...
Ronald S. Bultje [Thu, 27 Jan 2005 10:29:19 +0000 (10:29 +0000)]
ext/mad/: Add id3demuxbin (which is a simple bin consisting of id3demux and typefind), take over rank from id3demux, ...

Original commit message from CVS:
* ext/mad/Makefile.am:
* ext/mad/gstid3demuxbin.c: (gst_id3demux_bin_get_type),
(gst_id3demux_bin_base_init), (gst_id3demux_bin_class_init),
(gst_id3demux_bin_init), (gst_id3demux_bin_remove_pad),
(found_type), (gst_id3demux_bin_change_state):
* ext/mad/gstid3tag.c: (gst_id3_tag_add_src_pad),
(gst_id3_tag_init), (gst_id3_tag_handle_event),
(gst_id3_tag_src_link), (gst_id3_tag_chain),
(gst_id3_tag_change_state), (plugin_init):
* ext/mad/gstmad.h:
Add id3demuxbin (which is a simple bin consisting of id3demux
and typefind), take over rank from id3demux, remove typefind
code from id3demux. Makes all broken mp3s that I know of work,
and thereby fixes #152688.

19 years agoAllow seeks on audio pad, make mad forward those (#164826).
Ronald S. Bultje [Thu, 27 Jan 2005 10:14:22 +0000 (10:14 +0000)]
Allow seeks on audio pad, make mad forward those (#164826).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/mad/gstmad.c: (gst_mad_src_event):
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_event):
Allow seeks on audio pad, make mad forward those (#164826).
* gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
Set duration (#165335).

19 years agogst/asfdemux/gstasfdemux.*: Improve metadata display, e.g. if the metadata comes...
Ronald S. Bultje [Thu, 27 Jan 2005 00:56:10 +0000 (00:56 +0000)]
gst/asfdemux/gstasfdemux.*: Improve metadata display, e.g. if the metadata comes before the streams are loaded (which...

Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_init),
(gst_asf_demux_commit_taglist), (gst_asf_demux_process_comment),
(gst_asf_demux_process_ext_content_desc),
(gst_asf_demux_change_state), (gst_asf_demux_add_audio_stream),
(gst_asf_demux_add_video_stream), (gst_asf_demux_setup_pad):
* gst/asfdemux/gstasfdemux.h:
Improve metadata display, e.g. if the metadata comes before the
streams are loaded (which is perfectly valid).

19 years agotools/gst-launch-ext-m.m: Fix AVI/ASF pipelines (#165340).
Ronald S. Bultje [Wed, 26 Jan 2005 23:08:23 +0000 (23:08 +0000)]
tools/gst-launch-ext-m.m: Fix AVI/ASF pipelines (#165340).

Original commit message from CVS:
* tools/gst-launch-ext-m.m:
Fix AVI/ASF pipelines (#165340).

19 years agoext/cairo/gsttextoverlay.c: include string.h and strings.h to fix build failure...
Amaury Jacquot [Wed, 26 Jan 2005 14:12:35 +0000 (14:12 +0000)]
ext/cairo/gsttextoverlay.c: include  string.h and strings.h to fix build failure on amd64

Original commit message from CVS:
2005-01-26  Amaury Jacquot  <sxpert@esitcom.org>
* ext/cairo/gsttextoverlay.c: include  string.h and strings.h to fix
build failure on amd64

19 years agoCheck environment variables GST_ID3V2_TAG_ENCODING,
Tim-Philipp Müller [Wed, 26 Jan 2005 12:38:02 +0000 (12:38 +0000)]
Check environment variables GST_ID3V2_TAG_ENCODING,

Original commit message from CVS:
Check environment variables GST_ID3V2_TAG_ENCODING,
GST_ID3_TAG_ENCODING and GST_TAG_ENCODING for a colon-separated
list of character encodings to force interpretation of non-unicode
strings stored in an ID3v2 tag to a particular encoding. If none
is specified, try to use current locale's encoding, then fall back
to ISO-8859-1 (which will always succeed). (Resolves #149274)

Check environment variables GST_ID3V1_TAG_ENCODING,
GST_ID3_TAG_ENCODING and GST_TAG_ENCODING for a colon-separated
list of character encodings to use in case a string encountered
in an ID3v1 tag is not valid UTF-8 already. If no encoding is
specified, try to use the current locale's encoding, then fall
back to ISO-8859-1 (which will always succeed).

19 years agoext/mad/gstmad.c: - on half framerate, compute the rate in advance so the comparisons...
Benjamin Otte [Tue, 25 Jan 2005 21:48:46 +0000 (21:48 +0000)]
ext/mad/gstmad.c: - on half framerate, compute the rate in advance so the comparisons don't compare wrong values

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_check_caps_reset), (gst_mad_chain):
- on half framerate, compute the rate in advance so the comparisons
don't compare wrong values
- don't use mad_synth/frame_mute anymore, this mirrors mad_decoder
behaviour
- don't use mad_header_decode anymore, mad_frame_decode does that
automatically
- when getting rid of consumed bytes, reset the stream's skiplen
(fixes #163867)

19 years agogst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init)
Jan Schmidt [Tue, 25 Jan 2005 18:26:45 +0000 (18:26 +0000)]
gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init)

Original commit message from CVS:

* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init)
Use 1/2 a second for default max_discont, as PES streams from DVB
seem to have larger spacings in the SCR.
Fix a typo.

19 years agogst/playback/gstplaybasebin.c: Notify delayed stream-info availability.
Ronald S. Bultje [Tue, 25 Jan 2005 16:10:33 +0000 (16:10 +0000)]
gst/playback/gstplaybasebin.c: Notify delayed stream-info availability.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_commit):
Notify delayed stream-info availability.

19 years agoext/a52dec/gsta52dec.c: Add some debug output. Check that a discont has a valid time...
Jan Schmidt [Tue, 25 Jan 2005 15:34:09 +0000 (15:34 +0000)]
ext/a52dec/gsta52dec.c: Add some debug output. Check that a discont has a valid time associated.

Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_push),
(gst_a52dec_handle_event), (gst_a52dec_chain):
Add some debug output. Check that a discont has a valid
time associated.
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event),
(gst_alsa_sink_loop):
Ignore TAG events. A little extra debug for broken timestamps.
* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_init), (dvdnavsrc_loop),
(dvdnavsrc_change_state):
Ensure we send a discont to engage the link before we send any
other events.
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_init),
(dvdreadsrc_finalize), (_close), (_open), (_seek_title),
(_seek_chapter), (seek_sector), (dvdreadsrc_get),
(dvdreadsrc_uri_get_uri), (dvdreadsrc_uri_set_uri):
Handle URI of the form dvd://title[,chapter[,angle]]. Currently only
dvd://title works in totem because typefinding sends a seek that ends
up going back to chapter 1 regardless.
* ext/mpeg2dec/gstmpeg2dec.c:
* ext/mpeg2dec/gstmpeg2dec.h:
Output correct timestamps and handle disconts.
* ext/ogg/gstoggdemux.c: (get_relative):
Small guard against a null dereference.
* ext/pango/gsttextoverlay.c: (gst_textoverlay_finalize),
(gst_textoverlay_set_property):
Free memory when done. Don't call gst_event_filler_get_duration on
EOS events. Use GST_LOG and GST_WARNING instead of g_message and
g_warning.
* ext/smoothwave/gstsmoothwave.c: (gst_smoothwave_init),
(draw_line), (gst_smoothwave_dispose), (gst_sw_sinklink),
(gst_sw_srclink), (gst_smoothwave_chain):
Draw solid lines, prettier colours.
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_init):
Add a default palette that'll work for some movies.
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_init),
(gst_dvd_demux_handle_dvd_event), (gst_dvd_demux_send_discont),
(gst_dvd_demux_send_subbuffer), (gst_dvd_demux_reset):
* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_discont),
(gst_mpeg_demux_parse_syshead), (gst_mpeg_demux_parse_pes):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_init),
(gst_mpeg_parse_handle_discont), (gst_mpeg_parse_parse_packhead):
* gst/mpegstream/gstmpegparse.h:
Use PTM/NAV events when for timestamp adjustment when connected to
dvdnavsrc. Don't use many discont events where one suffices.
* gst/playback/gstplaybasebin.c: (group_destroy),
(gen_preroll_element), (gst_play_base_bin_add_element):
* gst/playback/gstplaybasebin.h:
Make sure we remove subtitles from the same bin we put them in.
* gst/subparse/gstsubparse.c: (convert_encoding), (parse_subrip),
(gst_subparse_buffer_format_autodetect),
(gst_subparse_change_state):
Fix some memleaks and invalid accesses.
* gst/typefind/gsttypefindfunctions.c: (ogganx_type_find),
(oggskel_type_find), (cmml_type_find), (plugin_init):
Some typefind functions for Annodex v3.0 files
* gst/wavparse/gstwavparse.h:
GstRiffReadClass is the correct parent class.

19 years agogst-libs/gst/riff/riff-media.c: Add extradata to huffyuv (fixes #165013).
Ronald S. Bultje [Tue, 25 Jan 2005 15:17:23 +0000 (15:17 +0000)]
gst-libs/gst/riff/riff-media.c: Add extradata to huffyuv (fixes #165013).

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data):
Add extradata to huffyuv (fixes #165013).
* gst-libs/gst/riff/riff-read.c:
(gst_riff_read_strf_vids_with_data):
Fix extradata extraction if it is in the chunk size.

19 years agogst/effectv/gstquark.c: Memory free'ing location fix (#164708).
Ronald S. Bultje [Tue, 25 Jan 2005 12:17:15 +0000 (12:17 +0000)]
gst/effectv/gstquark.c: Memory free'ing location fix (#164708).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/effectv/gstquark.c: (gst_quarktv_class_init),
(gst_quarktv_change_state), (gst_quarktv_dispose):
Memory free'ing location fix (#164708).

19 years agogst/playback/gstplaybasebin.c: Don't block for streams.
Ronald S. Bultje [Tue, 25 Jan 2005 10:51:48 +0000 (10:51 +0000)]
gst/playback/gstplaybasebin.c: Don't block for streams.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (group_commit),
(gen_preroll_element), (probe_triggered), (gen_source_element),
(setup_source), (gst_play_base_bin_change_state),
(gst_play_base_bin_add_element):
Don't block for streams.
* gst/playback/gststreaminfo.c: (stream_info_change_state),
(gst_stream_info_set_mute):
Use gst_pad_set_active_recursive.

19 years agosys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Fix compile for #ifndef HAVE_XVIDEO.
Andy Wingo [Tue, 25 Jan 2005 09:06:19 +0000 (09:06 +0000)]
sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Fix compile for #ifndef HAVE_XVIDEO.

Original commit message from CVS:
2005-01-25  Andy Wingo  <wingo@pobox.com>

* sys/v4l/gstv4lelement.c (gst_v4l_iface_supported): Fix compile
for #ifndef HAVE_XVIDEO.

19 years agoApply patch from Jeffrey C. Ollie. Fixes rate (now always 8kHz) and adds timestamps
Maciej Katafiasz [Mon, 24 Jan 2005 21:57:15 +0000 (21:57 +0000)]
Apply patch from Jeffrey C. Ollie. Fixes rate (now always 8kHz) and adds timestamps

Original commit message from CVS:
Apply patch from Jeffrey C. Ollie. Fixes rate (now always 8kHz) and
adds timestamps

19 years agogst-libs/gst/riff/riff-media.c: Audio can be <8000Hz.
Ronald S. Bultje [Mon, 24 Jan 2005 18:41:18 +0000 (18:41 +0000)]
gst-libs/gst/riff/riff-media.c: Audio can be <8000Hz.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_audio_caps_with_data):
Audio can be <8000Hz.

19 years agogst/playback/gstplaybasebin.c: Explicit state change to workaround refcount bugs.
Ronald S. Bultje [Sat, 22 Jan 2005 17:26:05 +0000 (17:26 +0000)]
gst/playback/gstplaybasebin.c: Explicit state change to workaround refcount bugs.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state):
Explicit state change to workaround refcount bugs.

19 years agogst/avi/gstavimux.c: Fix...
Ronald S. Bultje [Sat, 22 Jan 2005 10:54:07 +0000 (10:54 +0000)]
gst/avi/gstavimux.c: Fix...

Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_write_tag),
(gst_avimux_riff_get_avi_header):
Fix...

19 years agogst-libs/gst/riff/riff-read.*: Add _peek version (req'ed in CDXA).
Ronald S. Bultje [Wed, 19 Jan 2005 22:42:21 +0000 (22:42 +0000)]
gst-libs/gst/riff/riff-read.*: Add _peek version (req'ed in CDXA).

Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c: (gst_riff_peek_element_data),
(gst_riff_read_element_data):
* gst-libs/gst/riff/riff-read.h:
Add _peek version (req'ed in CDXA).
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxaparse_init),
(gst_cdxaparse_loop):
Fix parsing in playbin.
* gst/playback/gstdecodebin.c: (close_pad_link):
Ignore current_ pads, they cause major annoyance.

19 years agoext/alsa/gstalsasink.c: Safety guard.
Ronald S. Bultje [Wed, 19 Jan 2005 21:43:54 +0000 (21:43 +0000)]
ext/alsa/gstalsasink.c: Safety guard.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_loop):
Safety guard.

19 years agogst/avi/gstavimux.c: Fix padding...
Ronald S. Bultje [Wed, 19 Jan 2005 20:25:26 +0000 (20:25 +0000)]
gst/avi/gstavimux.c: Fix padding...

Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_write_tag):
Fix padding...

19 years agogst/matroska/ebml-read.c: Allow for 0-sized buffers. Fixes length query problems...
Ronald S. Bultje [Wed, 19 Jan 2005 19:31:54 +0000 (19:31 +0000)]
gst/matroska/ebml-read.c: Allow for 0-sized buffers. Fixes length query problems in starwars.mkv from the testsuite.

Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_read_buffer):
Allow for 0-sized buffers. Fixes length query problems in
starwars.mkv from the testsuite.

19 years agoFix row strides for I420 (fixes #163159)
Tim-Philipp Müller [Wed, 19 Jan 2005 17:09:57 +0000 (17:09 +0000)]
Fix row strides for I420 (fixes #163159)

Original commit message from CVS:
Fix row strides for I420 (fixes #163159)

19 years agogst/mpegstream/gstmpegparse.c: MPEG2 has a useful rate property, so we can actually...
Ronald S. Bultje [Wed, 19 Jan 2005 15:06:01 +0000 (15:06 +0000)]
gst/mpegstream/gstmpegparse.c: MPEG2 has a useful rate property, so we can actually use that.

Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_parse_packhead):
MPEG2 has a useful rate property, so we can actually use that.
For MPEG-1, continue using the bytes/time properties.

19 years agogst-libs/gst/riff/riff-media.c: Add intel-h263.
Ronald S. Bultje [Wed, 19 Jan 2005 12:47:20 +0000 (12:47 +0000)]
gst-libs/gst/riff/riff-media.c: Add intel-h263.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_template_caps):
Add intel-h263.

19 years agoext/mad/gstmad.c: Fail if caps negotiation fails. Should fix #162184, and should...
Ronald S. Bultje [Wed, 19 Jan 2005 11:01:09 +0000 (11:01 +0000)]
ext/mad/gstmad.c: Fail if caps negotiation fails. Should fix #162184, and should definately be in there regardless of...

Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_check_caps_reset), (gst_mad_chain):
Fail if caps negotiation fails. Should fix #162184, and should
definately be in there regardless of it fixing the actual bug.
* gst/avi/gstavimux.c: (gst_avimux_get_type), (gst_avimux_init),
(gst_avimux_write_tag), (gst_avimux_riff_get_avi_header),
(gst_avimux_riff_get_avix_header),
(gst_avimux_riff_get_video_header),
(gst_avimux_riff_get_audio_header), (gst_avimux_write_index),
(gst_avimux_start_file), (gst_avimux_handle_event),
(gst_avimux_change_state):
* gst/avi/gstavimux.h:
Refactor structure writing to use GST_WRITE_UINT macros, add
metadata writing support.

19 years agogst/playback/gststreaminfo.c: Elements may already be destroyed when this function...
Ronald S. Bultje [Tue, 18 Jan 2005 15:08:22 +0000 (15:08 +0000)]
gst/playback/gststreaminfo.c: Elements may already be destroyed when this function is called.

Original commit message from CVS:
* gst/playback/gststreaminfo.c: (gst_stream_info_dispose):
Elements may already be destroyed when this function is called.

19 years agogst/qtdemux/qtdemux.c: More memory leak fixes (#149162).
Ronald S. Bultje [Tue, 18 Jan 2005 12:30:05 +0000 (12:30 +0000)]
gst/qtdemux/qtdemux.c: More memory leak fixes (#149162).

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_loop_header), (gst_qtdemux_handle_esds):
More memory leak fixes (#149162).

19 years agogst/qtdemux/qtdemux.c: Fix two memleaks.
Ronald S. Bultje [Mon, 17 Jan 2005 23:44:06 +0000 (23:44 +0000)]
gst/qtdemux/qtdemux.c: Fix two memleaks.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_add_stream):
Fix two memleaks.

19 years agoext/faad/gstfaad.c: Argh...
Ronald S. Bultje [Mon, 17 Jan 2005 23:34:45 +0000 (23:34 +0000)]
ext/faad/gstfaad.c: Argh...

Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_srcgetcaps):
Argh...

19 years agoext/faad/gstfaad.c: Fix off-by-one bug. Fixes warnings during playback of sincity...
Ronald S. Bultje [Mon, 17 Jan 2005 23:01:43 +0000 (23:01 +0000)]
ext/faad/gstfaad.c: Fix off-by-one bug. Fixes warnings during playback of sincity.mp4 when fixating to six channels i...

Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_srcgetcaps):
Fix off-by-one bug. Fixes warnings during playback of sincity.mp4
when fixating to six channels in Totem.

19 years agoFix compile warnings on Solaris 10 buildbot
Tim-Philipp Müller [Mon, 17 Jan 2005 16:57:46 +0000 (16:57 +0000)]
Fix compile warnings on Solaris 10 buildbot

Original commit message from CVS:
Fix compile warnings on Solaris 10 buildbot

19 years agoDon't read beyond the last cell in a chapter (fixes invalid memory access)
Tim-Philipp Müller [Mon, 17 Jan 2005 16:17:26 +0000 (16:17 +0000)]
Don't read beyond the last cell in a chapter (fixes invalid memory access)

Original commit message from CVS:
Don't read beyond the last cell in a chapter (fixes invalid memory access)

19 years agoUse NULL for an empty GList instead of g_list_alloc(); fix memory leaks; s/LCPM/LPCM...
Tim-Philipp Müller [Mon, 17 Jan 2005 14:46:22 +0000 (14:46 +0000)]
Use NULL for an empty GList instead of g_list_alloc(); fix memory leaks; s/LCPM/LPCM/; use g_strdup_printf() instead ...

Original commit message from CVS:
Use NULL for an empty GList instead of g_list_alloc(); fix memory leaks; s/LCPM/LPCM/; use g_strdup_printf() instead of GString (easier to bulk free later)

19 years agogst/ffmpegcolorspace/gstffmpegcodecmap.c: Fix BGRA32 caps (#164209).
Ronald S. Bultje [Mon, 17 Jan 2005 14:12:08 +0000 (14:12 +0000)]
gst/ffmpegcolorspace/gstffmpegcodecmap.c: Fix BGRA32 caps (#164209).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps):
Fix BGRA32 caps (#164209).

19 years agogst/ffmpegcolorspace/gstffmpegcodecmap.c: alpha_mask can be RGBA/ABGR. Fixes #164265.
Ronald S. Bultje [Mon, 17 Jan 2005 14:08:19 +0000 (14:08 +0000)]
gst/ffmpegcolorspace/gstffmpegcodecmap.c: alpha_mask can be RGBA/ABGR. Fixes #164265.

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_caps_to_pixfmt):
alpha_mask can be RGBA/ABGR. Fixes #164265.

19 years agoext/mpeg2dec/gstmpeg2dec.*: Crop if decoding size is not the actual image size (...
Ronald S. Bultje [Mon, 17 Jan 2005 13:54:30 +0000 (13:54 +0000)]
ext/mpeg2dec/gstmpeg2dec.*: Crop if decoding size is not the actual image size (#163676).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/mpeg2dec/gstmpeg2dec.c: (crop_buffer),
(gst_mpeg2dec_alloc_buffer):
* ext/mpeg2dec/gstmpeg2dec.h:
Crop if decoding size is not the actual image size (#163676).

19 years agogst/typefind/gsttypefindfunctions.c: Add libsndfile typefind functions (#163309).
Ronald S. Bultje [Mon, 17 Jan 2005 13:46:15 +0000 (13:46 +0000)]
gst/typefind/gsttypefindfunctions.c: Add libsndfile typefind functions (#163309).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/typefind/gsttypefindfunctions.c: (aiff_type_find),
(svx_type_find), (sds_type_find), (ircam_type_find), (plugin_init):
Add libsndfile typefind functions (#163309).

19 years agotools/gst-launch-ext-m.m: Add .aac, fix .m1v/.m2v (#163891).
Ronald S. Bultje [Mon, 17 Jan 2005 13:41:14 +0000 (13:41 +0000)]
tools/gst-launch-ext-m.m: Add .aac, fix .m1v/.m2v (#163891).

Original commit message from CVS:
* tools/gst-launch-ext-m.m:
Add .aac, fix .m1v/.m2v (#163891).

19 years agoignore more
Thomas Vander Stichele [Mon, 17 Jan 2005 12:45:48 +0000 (12:45 +0000)]
ignore more

Original commit message from CVS:
ignore more

19 years agoext/alsa/gstalsaclock.c: Sanity check, don't wait endlessly since the clock might...
Ronald S. Bultje [Mon, 17 Jan 2005 12:45:27 +0000 (12:45 +0000)]
ext/alsa/gstalsaclock.c: Sanity check, don't wait endlessly since the clock might not actually run at this point (whi...

Original commit message from CVS:
* ext/alsa/gstalsaclock.c: (gst_alsa_clock_wait):
Sanity check, don't wait endlessly since the clock might not
actually run at this point (which is a deadlock). Fixes #164069.

19 years agoignore generated files
Thomas Vander Stichele [Mon, 17 Jan 2005 12:38:17 +0000 (12:38 +0000)]
ignore generated files

Original commit message from CVS:
ignore generated files

19 years agogst/playback/gstplaybasebin.c: Of course, only pause if group is done...
Ronald S. Bultje [Sun, 16 Jan 2005 15:06:28 +0000 (15:06 +0000)]
gst/playback/gstplaybasebin.c: Of course, only pause if group is done...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (probe_triggered):
Of course, only pause if group is done...

19 years agogst/playback/gstplaybasebin.c: Thread safety.
Ronald S. Bultje [Sun, 16 Jan 2005 14:38:40 +0000 (14:38 +0000)]
gst/playback/gstplaybasebin.c: Thread safety.

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (probe_triggered):
Thread safety.

19 years agoDon't return SUCCESS from the state change when the parent call fails
Jan Schmidt [Sun, 16 Jan 2005 11:07:45 +0000 (11:07 +0000)]
Don't return SUCCESS from the state change when the parent call fails

Original commit message from CVS:
Don't return SUCCESS from the state change when the parent call fails

19 years agogst/avi/gstavimux.c: Free events (fix memleak in #162905).
Ronald S. Bultje [Sun, 16 Jan 2005 10:08:12 +0000 (10:08 +0000)]
gst/avi/gstavimux.c: Free events (fix memleak in #162905).

Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_handle_event):
Free events (fix memleak in #162905).

19 years agogst/ffmpegcolorspace/gstffmpegcodecmap.c: Fix for depth = 15. Fixes #161675.
Ronald S. Bultje [Sat, 15 Jan 2005 17:58:38 +0000 (17:58 +0000)]
gst/ffmpegcolorspace/gstffmpegcodecmap.c: Fix for depth = 15. Fixes #161675.

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_caps_to_pixfmt):
Fix for depth = 15. Fixes #161675.

19 years agosys/v4l/gstv4lsrc.c: Set FPS correctly, even for webcams and the like.
Ronald S. Bultje [Fri, 14 Jan 2005 22:39:37 +0000 (22:39 +0000)]
sys/v4l/gstv4lsrc.c: Set FPS correctly, even for webcams and the like.

Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_getcaps):
Set FPS correctly, even for webcams and the like.
* sys/v4l/v4l_calls.c: (gst_v4l_set_chan_norm):
Don error on setting while capturing.

19 years agoI'm a bad boy. using /1001. to force C to do float division and not integer division...
Stéphane Loeuillet [Fri, 14 Jan 2005 18:36:42 +0000 (18:36 +0000)]
I'm a bad boy. using /1001. to force C to do float division and not integer division (as it did in my last commit)

Original commit message from CVS:
* ext/dv/gstdvdec.c:
* gst/subparse/gstsubparse.c: (parse_mdvdsub):
* gst/y4m/gsty4mencode.c: (gst_y4mencode_sinkconnect):
I'm a bad boy. using /1001. to force C to do float division
and not integer division (as it did in my last commit)
Thanks to David I. Lehn for pointing this mistake.

19 years agosys/v4l/gstv4lelement.c: Revert Johan´s 1.35->1.36 since it breaks compat.
Ronald S. Bultje [Fri, 14 Jan 2005 18:12:24 +0000 (18:12 +0000)]
sys/v4l/gstv4lelement.c: Revert Johan´s 1.35->1.36 since it breaks compat.

Original commit message from CVS:
* sys/v4l/gstv4lelement.c: (gst_v4l_iface_supported):
Revert Johan´s 1.35->1.36 since it breaks compat.

19 years agoreplace framerate aproximations by their real value (24000/1001, 30000/1001, 60000...
Stéphane Loeuillet [Fri, 14 Jan 2005 12:27:22 +0000 (12:27 +0000)]
replace framerate aproximations by their real value (24000/1001, 30000/1001, 60000/1001)

Original commit message from CVS:
* ext/dv/gstdvdec.c:
* ext/libfame/gstlibfame.c:
* gst/subparse/gstsubparse.c: (parse_mdvdsub):
* gst/y4m/gsty4mencode.c: (gst_y4mencode_sinkconnect):
replace framerate aproximations by their real value
(24000/1001, 30000/1001, 60000/1001)
Finish fixing bug #164049

19 years agoext/ogg/gstoggmux.c: eos/bos debugging
Thomas Vander Stichele [Thu, 13 Jan 2005 17:13:51 +0000 (17:13 +0000)]
ext/ogg/gstoggmux.c: eos/bos debugging

Original commit message from CVS:

* ext/ogg/gstoggmux.c:
eos/bos debugging
* gst/tcp/gstmultifdsink.c:
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcp.c:
* gst/tcp/gsttcp.h:
* gst/tcp/gsttcpclientsink.c:
* gst/tcp/gsttcpclientsrc.c:
* gst/tcp/gsttcpserversink.c:
* gst/tcp/gsttcpserversrc.c:
improve reusability of elements after state changes and errors
make multifdsink throw away streamheaders when receiving new ones

19 years agonego if not done yet
Thomas Vander Stichele [Thu, 13 Jan 2005 17:10:22 +0000 (17:10 +0000)]
nego if not done yet

Original commit message from CVS:
nego if not done yet

19 years agoext/alsa/gstalsa.c: Fix for if items are already in list...
Ronald S. Bultje [Thu, 13 Jan 2005 11:46:19 +0000 (11:46 +0000)]
ext/alsa/gstalsa.c: Fix for if items are already in list...

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_rates_probe):
Fix for if items are already in list...

19 years agogst/adder/gstadder.c: fix adder a bit so it doesn't screw up with events as much...
Benjamin Otte [Wed, 12 Jan 2005 18:30:39 +0000 (18:30 +0000)]
gst/adder/gstadder.c: fix adder a bit so it doesn't screw up with events as much anymore

Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_loop):
fix adder a bit so it doesn't screw up with events as much anymore

19 years agoext/gdk_pixbuf/pixbufscale.*: to ensure rowstrides are calculated the same way as...
Jan Schmidt [Wed, 12 Jan 2005 05:53:46 +0000 (05:53 +0000)]
ext/gdk_pixbuf/pixbufscale.*: to ensure rowstrides are calculated the same way as ffmpegcolorspace.

Original commit message from CVS:
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_link),
(pixbufscale_scale), (gst_pixbufscale_chain):
* ext/gdk_pixbuf/pixbufscale.h:
Incorporate changes from Tim-Philipp Mueller <t.i.m@orange.net>
to ensure rowstrides are calculated the same way as
ffmpegcolorspace.
Use gst_buffer_stamp instead of copying timestamps manually, so
that we pick up duration and offset also.

19 years agogst/avi/gstavimux.c: Reusability fixes.
Ronald S. Bultje [Tue, 11 Jan 2005 16:52:47 +0000 (16:52 +0000)]
gst/avi/gstavimux.c: Reusability fixes.

Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_class_init),
(gst_avimux_pad_unlink), (gst_avimux_release_pad):
Reusability fixes.

19 years agoext/alsa/gstalsamixer.c: Update flags when requested.
Ronald S. Bultje [Tue, 11 Jan 2005 15:11:26 +0000 (15:11 +0000)]
ext/alsa/gstalsamixer.c: Update flags when requested.

Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_update),
(gst_alsa_mixer_get_volume), (gst_alsa_mixer_set_volume),
(gst_alsa_mixer_set_mute), (gst_alsa_mixer_set_record),
(gst_alsa_mixer_set_option), (gst_alsa_mixer_get_option):
Update flags when requested.

19 years agoext/alsa/gstalsa.c: Fix dmix.
Ronald S. Bultje [Tue, 11 Jan 2005 12:36:22 +0000 (12:36 +0000)]
ext/alsa/gstalsa.c: Fix dmix.

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_rates_probe):
Fix dmix.

19 years agogst/playback/: Implement group-switch signal for use in apps to clear metadata cache...
Ronald S. Bultje [Tue, 11 Jan 2005 12:03:24 +0000 (12:03 +0000)]
gst/playback/: Implement group-switch signal for use in apps to clear metadata cache, clean up subtitle, add suburi p...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(gst_play_base_bin_init), (gst_play_base_bin_dispose),
(probe_triggered), (new_decoded_pad), (gen_source_element),
(gst_play_base_bin_set_property), (gst_play_base_bin_get_property):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_init), (group_switch), (remove_sinks), (setup_sinks),
(gst_play_bin_change_state):
Implement group-switch signal for use in apps to clear metadata
cache, clean up subtitle, add suburi property instead of # hack,
some error-out fixes.

19 years agoext/vorbis/vorbisdec.c: Debug.
Ronald S. Bultje [Tue, 11 Jan 2005 00:26:13 +0000 (00:26 +0000)]
ext/vorbis/vorbisdec.c: Debug.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
Debug.
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_grab_frame):
If we got a state change in the _get handler, don't return success.

19 years agoext/jpeg/gstjpegdec.c: Make jpegdec quiet on MJPEG decoding
Stéphane Loeuillet [Mon, 10 Jan 2005 22:00:15 +0000 (22:00 +0000)]
ext/jpeg/gstjpegdec.c: Make jpegdec quiet on MJPEG decoding

Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpegdec_my_output_message),
(gst_jpegdec_my_emit_message), (gst_jpegdec_init):
Make jpegdec quiet on MJPEG decoding
* gst/asfdemux/README:
Fix mimetypes for MJPEG and H263

19 years agoext/theora/theoradec.c: Fix broken code generation by gcc by swapping arguments.
Ronald S. Bultje [Mon, 10 Jan 2005 18:45:53 +0000 (18:45 +0000)]
ext/theora/theoradec.c: Fix broken code generation by gcc by swapping arguments.

Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_chain):
Fix broken code generation by gcc by swapping arguments.
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query):
Fix \n in debug.

19 years agooops, forgot to commit changelog
Stéphane Loeuillet [Mon, 10 Jan 2005 17:09:01 +0000 (17:09 +0000)]
oops, forgot to commit changelog

Original commit message from CVS:
oops, forgot to commit changelog

19 years agoTODO: delete this file, it is by far outdated
Stéphane Loeuillet [Mon, 10 Jan 2005 17:01:37 +0000 (17:01 +0000)]
TODO: delete this file, it is by far outdated

Original commit message from CVS:
* TODO:
delete this file, it is by far outdated
* ext/alsa/gstalsa.1: remove
* ext/alsa/gstalsa.c: (add_rates), (add_channels), (gst_alsa_caps),
(gst_alsa_check_sample_rates), (gst_alsa_rates_probe),
(gst_alsa_get_caps):
Add HW probing for supported sample rates. Fixes #161704

19 years agogst/audioscale/gstaudioscale.c: Don't crash, biatch! :).
Ronald S. Bultje [Mon, 10 Jan 2005 16:51:45 +0000 (16:51 +0000)]
gst/audioscale/gstaudioscale.c: Don't crash, biatch! :).

Original commit message from CVS:
* gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
Don't crash, biatch! :).

19 years agoSome work on tags - still doesn't work in playbin...
Ronald S. Bultje [Mon, 10 Jan 2005 16:42:27 +0000 (16:42 +0000)]
Some work on tags - still doesn't work in playbin...

Original commit message from CVS:
* ext/musepack/gstmusepackreader.cpp:
* gst/apetag/apedemux.c: (gst_ape_demux_stream_data):
Some work on tags - still doesn't work in playbin...
* gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
Handle events...

19 years agogst/qtdemux/qtdemux.c: Also shove tags on kid pads.
Ronald S. Bultje [Mon, 10 Jan 2005 16:24:14 +0000 (16:24 +0000)]
gst/qtdemux/qtdemux.c: Also shove tags on kid pads.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_tree):
Also shove tags on kid pads.

19 years agogst-libs/gst/riff/riff-read.c: Don't bail on unknown events.
Ronald S. Bultje [Mon, 10 Jan 2005 16:09:25 +0000 (16:09 +0000)]
gst-libs/gst/riff/riff-read.c: Don't bail on unknown events.

Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_use_event):
Don't bail on unknown events.
* gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
Don't crash on events before negotiation.
* gst/avi/gstavidemux.c: (gst_avi_demux_add_stream):
Send tags on pads, too.
* gst/playback/gststreamselector.c:
(gst_stream_selector_request_new_pad):
Forward events on first pad if no input was selected yet.