Commit graph

1479 commits

Author SHA1 Message Date
Ronald S. Bultje
1a193d2c7d gst/matroska/matroska-demux.c: Save position, so that queries give proper return values. Don't know how this could ev...
Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup):
Save position, so that queries give proper return values. Don't
know how this could ever have worked before...
2004-12-23 13:14:24 +00:00
Thomas Vander Stichele
d0e8b1feef configure.ac: Put additional LAME check inside the conditional. Fixes #152339
Original commit message from CVS:
* configure.ac:
Put additional LAME check inside the conditional.  Fixes #152339
2004-12-23 12:43:31 +00:00
Ronald S. Bultje
c6750de935 gst/avi/gstavidemux.c: Add some more debug. Fix logic error when setting movi offset while reading index.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
(gst_avi_demux_stream_scan):
Add some more debug. Fix logic error when setting movi offset
while reading index.
2004-12-23 11:44:03 +00:00
Ronald S. Bultje
3d8a7d822d gst/avi/gstavidemux.c: Add some debugging. Better detection of broken indexes and the accompanying index recovery. No...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
(gst_avi_demux_stream_scan), (gst_avi_demux_handle_seek),
(gst_avi_demux_process_next_entry):
Add some debugging. Better detection of broken indexes and the
accompanying index recovery. No infinite loops on state changes
when we're still in our loopfunction.
2004-12-23 10:53:27 +00:00
Ronald S. Bultje
51b8f4ea53 configure.ac: Fix up.
Original commit message from CVS:
* configure.ac:
Fix up.
2004-12-22 19:53:26 +00:00
Ronald S. Bultje
a788c9ae61 sys/sunaudio/gstsunmixer.c: Normalizing the value before setting
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* sys/sunaudio/gstsunmixer.c: (gst_sunaudiomixer_set_volume):
Normalizing the value before setting
(gst_sunaudiomixer_get_volume):
Normalizing the value after getting. Fixes bug# 161980
2004-12-22 14:49:06 +00:00
Christian Schaller
c1c570fcda fix build/disting
Original commit message from CVS:
fix build/disting
2004-12-22 10:48:12 +00:00
Wim Taymans
39994a5a5a gst/playback/gstplaybasebin.c: Revert patch 1.38 as clock distribution over schedulers does not work correcly in the ...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_add_element):
Revert patch 1.38 as clock distribution over schedulers does
not work correcly in the core yet.
2004-12-22 10:06:02 +00:00
Stéphane Loeuillet
203fc5e4eb remove outdated README file of oss directory
Original commit message from CVS:
remove outdated README file of oss directory
2004-12-21 10:33:57 +00:00
Stefan Kost
230599b6d7 Added boilerplate gtk-doc files for plugin-libs documentation.
Original commit message from CVS:
Added boilerplate gtk-doc files for plugin-libs documentation.
2004-12-20 16:29:06 +00:00
Stéphane Loeuillet
38b5e6c519 fix int and float audio caps in auparse, partially fixes bug #142812
Original commit message from CVS:
fix int and float audio caps in auparse, partially fixes bug #142812
2004-12-19 16:54:46 +00:00
Ronald S. Bultje
0eb578a008 sys/: g_assert() can be a macro, don't use #ifdef inside it.
Original commit message from CVS:
* sys/v4l/gstv4lelement.c: (gst_v4l_iface_supported):
* sys/v4l2/gstv4l2element.c: (gst_v4l2_iface_supported):
g_assert() can be a macro, don't use #ifdef inside it.
2004-12-19 16:46:21 +00:00
Ronald S. Bultje
277b2548be gst/videorate/gstvideorate.c: Event handling (fixes #159986).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/videorate/gstvideorate.c: (gst_videorate_blank_data),
(gst_videorate_init), (gst_videorate_chain),
(gst_videorate_change_state):
Event handling (fixes #159986).
2004-12-19 13:16:24 +00:00
Ronald S. Bultje
1f78c719cb gst-libs/gst/riff/riff-media.c: Add BLZ0 (Blizzard's version of DivX) fourcc.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data):
Add BLZ0 (Blizzard's version of DivX) fourcc.
2004-12-19 11:10:32 +00:00
David Schleef
b25b66b9a8 gst/tta/gstttadec.c: And yet another portability fix.
Original commit message from CVS:
* gst/tta/gstttadec.c: (gst_tta_dec_link): And yet another
portability fix.
2004-12-19 03:51:12 +00:00
David Schleef
231c16577e gst/tta/ttadec.h: Disable some header code that isn't used and clearly isn't portable.
Original commit message from CVS:
* gst/tta/ttadec.h: Disable some header code that isn't used
and clearly isn't portable.
2004-12-19 03:47:48 +00:00
David Schleef
a03f20210e gst/ffmpegcolorspace/imgconvert.c: Fix code to not use GCC extensions (and c99 extensions that
Original commit message from CVS:
* gst/ffmpegcolorspace/imgconvert.c: (get_pix_fmt_info),
(avcodec_get_chroma_sub_sample), (avcodec_get_pix_fmt_name),
(avcodec_get_pix_fmt), (avpicture_layout),
(avcodec_get_pix_fmt_loss), (avg_bits_per_pixel), (img_copy),
(get_convert_table_entry), (img_convert), (img_get_alpha_info):
Fix code to not use GCC extensions (and c99 extensions that
Forte does not like.)
2004-12-19 03:20:26 +00:00
Ronald S. Bultje
143e26e9ea gst/deinterlace/gstdeinterlace.c: Rowstride fixes. Fixes #161039.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_link),
(gst_deinterlace_chain):
Rowstride fixes. Fixes #161039.
* gst/videocrop/gstvideocrop.c: (gst_video_crop_init),
(gst_video_crop_get_property), (gst_video_crop_add_to_struct_val),
(gst_video_crop_getcaps), (gst_video_crop_link),
(gst_video_crop_i420), (gst_video_crop_chain),
(gst_video_crop_change_state):
Rework of negotiation. Actually works now. Fixes #158650.
2004-12-18 23:43:47 +00:00
Ronald S. Bultje
27fe4e9b68 gst/matroska/matroska-demux.c: That was very stupid.
Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_ebmlnum_sint):
That was very stupid.
2004-12-18 22:53:29 +00:00
Ronald S. Bultje
4076247582 gst/matroska/matroska-demux.c: Fix possible crasher.
Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup):
Fix possible crasher.
2004-12-18 22:47:47 +00:00
Ronald S. Bultje
9c1637cc5d gst/matroska/matroska-demux.c: Lace sizes can be zero.
Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_ebmlnum_uint),
(gst_matroska_ebmlnum_sint), (gst_matroska_demux_parse_blockgroup):
Lace sizes can be zero.
2004-12-18 22:40:24 +00:00
Ronald S. Bultje
9663158bfa ext/musepack/gstmusepackdec.cpp: Fetch error return values. Fixes #161624.
Original commit message from CVS:
* ext/musepack/gstmusepackdec.cpp:
Fetch error return values. Fixes #161624.
* gst/apetag/apedemux.c: (gst_ape_demux_stream_data):
Really EOS.
2004-12-18 21:56:46 +00:00
Ronald S. Bultje
dc2a11875b gst/avi/gstavidemux.c: Work for truncated (unfinished download etc.) files. Fixes #160514.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index):
Work for truncated (unfinished download etc.) files. Fixes #160514.
2004-12-18 19:36:59 +00:00
Ronald S. Bultje
9e2693ea88 ext/alsa/gstalsasink.c: Fix for integer overflow. Makes #156001 not crash. Probably masks the real bug.
Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsa_sink_loop):
Fix for integer overflow. Makes #156001 not crash. Probably masks
the real bug.
2004-12-18 15:09:27 +00:00
Ronald S. Bultje
921244eafb gst/ac3parse/gstac3parse.c: Parsers never have ranks. Fixes #159651.
Original commit message from CVS:
* gst/ac3parse/gstac3parse.c: (plugin_init):
Parsers never have ranks. Fixes #159651.
2004-12-17 17:09:24 +00:00
Benjamin Otte
d6a5ec15d1 gst/playback/gstdecodebin.c: make sure the facotries are ordered the same every time even if they have the same rank ...
Original commit message from CVS:
* gst/playback/gstdecodebin.c: (compare_ranks):
make sure the facotries are ordered the same every time even if they
have the same rank by using the name
* gst/playback/gstdecodebin.c: (find_compatibles):
make sure we don't add factories to the list twice
2004-12-17 17:02:53 +00:00
David Schleef
b2c01d68e3 configure.ac: look for musepack headers as musepack/*.h (fixes #159847)
Original commit message from CVS:
* configure.ac: look for musepack headers as musepack/*.h
(fixes #159847)
* ext/musepack/gstmusepackdec.h: use <musepack/*.h>
* ext/musepack/gstmusepackreader.h: same
2004-12-17 01:10:30 +00:00
Ronald S. Bultje
b1fa159e5f gst-libs/gst/riff/riff-read.c: Read extradata correctly (fixes #155879).
Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c:
(gst_riff_read_strf_auds_with_data):
Read extradata correctly (fixes #155879).
2004-12-16 23:57:26 +00:00
David Schleef
a8343f312c gst/audioscale/gstaudioscale.c: allow passthru of >2 channel audio. does _not_ attempt or allow conversion unless ch...
Original commit message from CVS:
* gst/audioscale/gstaudioscale.c: allow passthru of >2 channel
audio.  does _not_ attempt or allow conversion unless channels
is 1 or 2.
2004-12-16 23:44:38 +00:00
Christian Schaller
81bba1264a fix mpeg and vob pipelines, others are still borked though
Original commit message from CVS:
fix mpeg and vob pipelines, others are still borked though
2004-12-16 22:37:31 +00:00
David Schleef
e12c6106e8 gst/audioscale/gstaudioscale.c: the resample library only handles 1 or 2 channels. Change caps to compensate.
Original commit message from CVS:
* gst/audioscale/gstaudioscale.c: the resample library only
handles 1 or 2 channels.  Change caps to compensate.
2004-12-16 22:33:53 +00:00
Ronald S. Bultje
5a21f22150 gst/matroska/matroska-demux.c: Some MPEG-AAC hacks, because else it doesn't work...
Original commit message from CVS:
* gst/matroska/matroska-demux.c: (aac_rate_idx), (aac_profile_idx),
(gst_matroska_demux_audio_caps):
Some MPEG-AAC hacks, because else it doesn't work...
2004-12-16 22:16:01 +00:00
Ronald S. Bultje
d8a9cb2933 gst-libs/gst/riff/riff-media.c: Add h264.
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 h264.
2004-12-16 20:30:00 +00:00
Ronald S. Bultje
4f6378f237 gst-libs/gst/audio/Makefile.am: Try to fix buildbot.
Original commit message from CVS:
* gst-libs/gst/audio/Makefile.am:
Try to fix buildbot.
2004-12-16 19:45:32 +00:00
Thomas Vander Stichele
ced5f2ebcc cleanup and uniformize debugging
Original commit message from CVS:
cleanup and uniformize debugging
2004-12-16 19:41:28 +00:00
Ronald S. Bultje
2111dafe29 gst/mpegstream/: Reset on ready. Fixes 160276.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_class_init),
(gst_dvd_demux_reset), (gst_dvd_demux_change_state):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_reset),
(gst_mpeg_demux_change_state):
Reset on ready. Fixes 160276.
2004-12-16 12:54:04 +00:00
Ronald S. Bultje
dc801b12c9 gst/ffmpegcolorspace/gstffmpegcolorspace.c: Fix memleak (#154815).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_pad_link):
Fix memleak (#154815).
2004-12-16 12:27:05 +00:00
Ronald S. Bultje
1ca4ad9399 ext/musicbrainz/gsttrm.*: Add support for using a proxy server when getting a trm id from the MusicBrainz database (#...
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_class_init),
(gst_musicbrainz_init), (gst_musicbrainz_chain),
(gst_musicbrainz_set_property), (gst_musicbrainz_get_property):
* ext/musicbrainz/gsttrm.h:
Add support for using a proxy server when getting a trm id from
the MusicBrainz database (#149613).
2004-12-16 12:03:06 +00:00
Ronald S. Bultje
c0bff003be gst/playback/: Fix memleaks (#157233).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/playback/gstdecodebin.c: (new_pad), (close_link):
* gst/playback/gstplaybasebin.c: (new_decoded_pad):
Fix memleaks (#157233).
2004-12-16 11:54:53 +00:00
Ronald S. Bultje
2439970ffd gst/: Fix memleak (#159215).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst-libs/gst/resample/resample.c: (gst_resample_close):
* gst-libs/gst/resample/resample.h:
* gst/audioscale/gstaudioscale.c:
Fix memleak (#159215).
2004-12-16 11:39:00 +00:00
Ronald S. Bultje
839354ce28 sys/oss/: fixes #159433. Also add missing copyright header to oss_probe.c.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* sys/oss/gstosselement.c: (gst_osselement_probe_caps):
* sys/oss/oss_probe.c: (main):
Check for mono/stereo support (similar to samplerate probing),
fixes #159433. Also add missing copyright header to oss_probe.c.
2004-12-16 11:34:54 +00:00
David Schleef
e803c9f86d configure.ac: add audioresample and cairo plugins. Remove
Original commit message from CVS:
* configure.ac: add audioresample and cairo plugins.  Remove
HAVE_MMX stuff, because it's not used.
* ext/Makefile.am: same
* ext/audioresample/Makefile.am: You are not ready for an
audio resampling element based on audioresample.
* ext/audioresample/gstaudioresample.c:
* ext/audioresample/gstaudioresample.h:
* ext/cairo/Makefile.am: You are not ready for overlay elements
based on cairo.  Don't look too closely, these elements kinda
suck right now.
* ext/cairo/gstcairo.c: new
* ext/cairo/gsttextoverlay.c: new
* ext/cairo/gsttextoverlay.h: new
* ext/cairo/gsttimeoverlay.c: new
* ext/cairo/gsttimeoverlay.h: new
* gst-libs/gst/media-info/media-info-priv.h: fix compile
problem with compilers that don't support variadic macros.
2004-12-16 05:32:07 +00:00
David Schleef
7de6c44f44 sys/sunaudio/gstsunaudio.c: Apply patch from and cleaning up code a bit. Also ran indent-gst.
Original commit message from CVS:
Reviewed by:  David Schleef  <ds@schleef.org>
* sys/sunaudio/gstsunaudio.c: (plugin_init):  Apply patch from
Bala, registering sunaudiosrc (oops!), and cleaning up code a
bit.  Also ran indent-gst.
* sys/sunaudio/gstsunaudiosrc.c: (gst_sunaudiosrc_init),
(gst_sunaudiosrc_change_state), (gst_sunaudiosrc_get),
(gst_sunaudiosrc_setparams):
2004-12-15 18:23:31 +00:00
David Schleef
b30b813a35 gst/festival/gstfestival.c: Set the output rate to 16000. Should fix #160235.
Original commit message from CVS:
* gst/festival/gstfestival.c: (gst_festival_chain): Set the
output rate to 16000.  Should fix #160235.
2004-12-15 03:59:26 +00:00
Zaheer Abbas Merali
cf4b8997f9 gst/typefind/gsttypefindfunctions.c: Add typefinding for mpeg2 pes streams
Original commit message from CVS:
2004-12-14  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/typefind/gsttypefindfunctions.c: (mpeg2_sys_type_find):
Add typefinding for mpeg2 pes streams
2004-12-14 16:34:44 +00:00
David Schleef
3dd58c9cf6 configure.ac: Applied patch from bug #143659, making default and added code for OS/X.
Original commit message from CVS:
* configure.ac:  Applied patch from bug #143659, making default
sources and sinks OS-dependent (for Solaris), and added code
for OS/X.
* gconf/gstreamer.schemas.in: use OS-dependent sinks in gconf.
2004-12-14 06:43:30 +00:00
Stéphane Loeuillet
7ee764ec09 forgot to add H264 to avidemux template caps
Original commit message from CVS:
forgot to add H264 to avidemux template caps
2004-12-13 18:09:34 +00:00
Stéphane Loeuillet
ab45d21668 forgot to add h264 to avidemux caps
Original commit message from CVS:
forgot to add h264 to avidemux caps
2004-12-13 12:18:07 +00:00
Stéphane Loeuillet
403876e637 add VSSH (VideoSoft h264) and remove s323 (h323) from riff-lib because s323 is quicktime specific
Original commit message from CVS:
add VSSH (VideoSoft h264) and remove s323 (h323) from riff-lib
because s323 is quicktime specific
2004-12-13 12:11:57 +00:00
Stéphane Loeuillet
82ccc32e94 add s263 4CC code to qtdemux too
Original commit message from CVS:
add s263 4CC code to qtdemux too
2004-12-13 00:54:14 +00:00
Stéphane Loeuillet
fc108fdf7c gst/asfdemux/README gst/wavenc/riff.h gst-libs/gst/riff/riff-ids.h gst-libs/gst/riff/riff-media.c add new 4CC codes f...
Original commit message from CVS:
* gst/asfdemux/README
* gst/wavenc/riff.h
* gst-libs/gst/riff/riff-ids.h
* gst-libs/gst/riff/riff-media.c
add new 4CC codes for h263 related codecs
fixes partially bug #155163
2004-12-13 00:47:20 +00:00
Christian Schaller
f46ec4e3b7 merge patch from 158258
Original commit message from CVS:
merge patch from 158258
2004-12-12 12:05:39 +00:00
Zaheer Abbas Merali
b5d73d2ec8 gst/interleave/deinterleave.c: fix my name's spelling! :)
Original commit message from CVS:
2004-12-11  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* gst/interleave/deinterleave.c:
fix my name's spelling! :)
2004-12-11 17:48:18 +00:00
Stéphane Loeuillet
181f0e63a3 put the same mail for Zaheer Merali everywhere (missing changelog entry from last commit)
Original commit message from CVS:
put the same mail for Zaheer Merali everywhere
(missing changelog entry from last commit)
2004-12-11 14:58:45 +00:00
Stéphane Loeuillet
1c32567a24 put the same mail for Zaheer Merali everywhere
Original commit message from CVS:
put the same mail for Zaheer Merali everywhere
2004-12-11 13:43:18 +00:00
Ronald S. Bultje
8314de4ff9 gst/asfdemux/gstasfdemux.c: Align by packetsize, and assert that we a packet available before playing. The first make...
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_loop):
Align by packetsize, and assert that we a packet available before
playing. The first makes webstreams work (they often include
trailing padding data in a packet), the second allows pausing a
ASF stream in totem without getting demux errors afterwards.
2004-12-10 21:11:33 +00:00
Ronald S. Bultje
b5c4b824e3 ext/ogg/gstoggdemux.c: Check for non-NULL before accessing member (end-of-chain).
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (get_relative):
Check for non-NULL before accessing member (end-of-chain).
2004-12-09 15:57:39 +00:00
Ronald S. Bultje
0fb3d103dc Synchronize property names where not yet the case. Devices are now device=X, other versions are deprecated (but still...
Original commit message from CVS:
* ext/cdparanoia/gstcdparanoia.c: (cdparanoia_class_init),
(cdparanoia_set_property), (cdparanoia_get_property):
* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_class_init),
(dvdnavsrc_set_property), (dvdnavsrc_get_property):
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_class_init),
(dvdreadsrc_init), (dvdreadsrc_set_property),
(dvdreadsrc_get_property):
* sys/vcd/vcdsrc.c: (gst_vcdsrc_class_init),
(gst_vcdsrc_set_property), (gst_vcdsrc_get_property):
Synchronize property names where not yet the case. Devices are
now device=X, other versions are deprecated (but still exist).
Also use g_free() unconditionally.
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(setup_source), (gst_play_base_bin_get_property):
Expose source.
2004-12-09 12:57:29 +00:00
Thomas Vander Stichele
3643eca12a configure.ac: move GCONF macro outside conditional for the am conditional. Fixes #160439
Original commit message from CVS:
2004-12-09  Thomas Vander Stichele  <thomas at apestaart dot org>

* configure.ac: move GCONF macro outside conditional for the am
conditional. Fixes #160439
2004-12-09 11:54:10 +00:00
David Schleef
ac3ccaae5a tools/gst-visualise-m.m: Switch to elements that currently exist.
Original commit message from CVS:
* tools/gst-visualise-m.m: Switch to elements that currently
exist.
2004-12-08 22:43:08 +00:00
Ronald S. Bultje
71e21197d2 ext/ogg/gstogmparse.c: We love wrong commas.
Original commit message from CVS:
* ext/ogg/gstogmparse.c: (gst_ogm_parse_chain):
We love wrong commas.
2004-12-08 22:20:25 +00:00
Ronald S. Bultje
35e094807c gst/matroska/matroska-demux.c: Don't set DEFAULT, unsupported - makes length display incorrectly in some cases.
Original commit message from CVS:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_handle_src_query):
Don't set DEFAULT, unsupported - makes length display incorrectly
in some cases.
2004-12-08 22:12:13 +00:00
Christian Schaller
4ad298d680 fix licensing of monoscope
Original commit message from CVS:
fix licensing of monoscope
2004-12-07 17:22:18 +00:00
Christian Schaller
f37356022c fix licensing information for monoscope plugin
Original commit message from CVS:
fix licensing information for monoscope plugin
2004-12-07 10:32:11 +00:00
Arwed v. Merkatz
db9e3b6d92 set correct buffer durations in mp3parse, set default_duration in matroskamux for mpeg1 audio
Original commit message from CVS:
set correct buffer durations in mp3parse, set default_duration in matroskamux for mpeg1 audio
2004-12-06 19:32:33 +00:00
Benjamin Otte
ab8e71c93e ext/alsa/gstalsa.*: refactor big chunks of the core caps negotiation code to make it a lot faster, because people cla...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_get_caps), (gst_alsa_close_audio):
* ext/alsa/gstalsa.h:
refactor big chunks of the core caps negotiation code to make it
a lot faster, because people claim it's really slow
(actually, just cache the getcaps when the device is opened)
2004-12-06 16:10:06 +00:00
Ronald S. Bultje
4daeebd177 ext/a52dec/gsta52dec.*: Do something useful with timestamps. Make chain-based (since there's really no reason to be l...
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_init),
(gst_a52dec_handle_event), (gst_a52dec_update_streaminfo),
(gst_a52dec_handle_frame), (gst_a52dec_chain),
(gst_a52dec_change_state), (plugin_init):
* ext/a52dec/gsta52dec.h:
Do something useful with timestamps. Make chain-based (since
there's really no reason to be loopbased).
* gst/avi/gstavidemux.c: (gst_avi_demux_process_next_entry):
Update current_byte/frame correctly.
2004-12-06 10:28:13 +00:00
Ronald S. Bultje
0c3cca89fc gst/apetag/apedemux.c: Forward tags, too.
Original commit message from CVS:
* gst/apetag/apedemux.c: (gst_ape_demux_parse_tags),
(gst_ape_demux_stream_init):
Forward tags, too.
2004-12-04 12:05:34 +00:00
Ronald S. Bultje
4f3815cb3a gst/apetag/apedemux.c: Let's make sure we're done typefinding when detecting tags.
Original commit message from CVS:
* gst/apetag/apedemux.c: (gst_ape_demux_stream_init):
Let's make sure we're done typefinding when detecting tags.
2004-12-04 11:44:47 +00:00
Ronald S. Bultje
4725ef13cd gst/matroska/: Disgustingly evil hack for working around INTERRUPT events and their extremely annoying habit of being...
Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_read_class_init),
(gst_ebml_read_init), (gst_ebml_read_use_event),
(gst_ebml_read_element_id), (gst_ebml_peek_id),
(gst_ebml_read_seek), (gst_ebml_read_skip),
(gst_ebml_read_reserve), (gst_ebml_read_buffer),
(gst_ebml_read_master):
* gst/matroska/ebml-read.h:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_contents),
(gst_matroska_demux_loop_stream), (gst_matroska_demux_audio_caps):
Disgustingly evil hack for working around INTERRUPT events and
their extremely annoying habit of being a pain in the ass. We
simply peek a cluster before reading any of it.
2004-12-03 21:08:17 +00:00
Ronald S. Bultje
40e9cff5bc ext/musepack/gstmusepackdec.cpp: There's also floating point libmusepacks.
Original commit message from CVS:
* ext/musepack/gstmusepackdec.cpp:
There's also floating point libmusepacks.
2004-12-03 18:13:43 +00:00
Ronald S. Bultje
461861f3de ext/faad/gstfaad.c: Set DURATION even if source buffer didn't. Also use increasing timestamps.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_chanpos_from_gst),
(gst_faad_chanpos_to_gst), (gst_faad_chain):
Set DURATION even if source buffer didn't. Also use increasing
timestamps.
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_audio_caps_with_data):
Block_align can have larger values than 8192.
2004-12-03 15:34:19 +00:00
Ronald S. Bultje
3c99555b67 gst/law/: Fix caps.
Original commit message from CVS:
* gst/law/alaw-decode.c: (alawdec_getcaps), (alawdec_link):
* gst/law/alaw-encode.c: (alawenc_getcaps), (alawenc_link):
* gst/law/mulaw-decode.c: (mulawdec_getcaps), (mulawdec_link):
* gst/law/mulaw-encode.c: (mulawenc_getcaps), (mulawenc_link):
Fix caps.
2004-12-02 17:38:59 +00:00
Ronald S. Bultje
abd7c7a05f sys/v4l/v4l_calls.c: Fix logic bug.
Original commit message from CVS:
* sys/v4l/v4l_calls.c: (gst_v4l_get_chan_names):
Fix logic bug.
2004-12-01 22:47:41 +00:00
Ronald S. Bultje
cb4164a160 ext/ogg/gstoggdemux.c: Yay, another one.
Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_type_find):
Yay, another one.
2004-12-01 21:45:27 +00:00
Ronald S. Bultje
bf470fb7b3 ext/esd/esdsink.c: Make error actually say something useful (fixes #156798).
Original commit message from CVS:
* ext/esd/esdsink.c: (gst_esdsink_chain):
Make error actually say something useful (fixes #156798).
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_template_caps):
Add Intel Video 5.0 fourcc (IV50).
2004-12-01 20:42:01 +00:00
Christophe Fergeau
35a2c36ec4 ext/mad/gstmad.c: fix xing header detection on mono and stereo mp3 files.
Original commit message from CVS:
2004-12-01  Christophe Fergeau  <teuf@gnome.org>

* ext/mad/gstmad.c: (mpg123_parse_xing_header): fix xing header
detection on mono and stereo mp3 files.
2004-12-01 20:07:24 +00:00
Ronald S. Bultje
ac7b5a35d7 gst/playback/gstplaybasebin.c: Don't crash on EMPTY caps (e.g. when the demuxer didn't recognize the contained stream).
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state):
Don't crash on EMPTY caps (e.g. when the demuxer didn't recognize
the contained stream).
2004-12-01 17:58:19 +00:00
Ronald S. Bultje
6184e5e3fd ext/faad/gstfaad.c: Oops, remove debug.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_srcconnect), (gst_faad_chain):
Oops, remove debug.
2004-12-01 16:07:43 +00:00
Ronald S. Bultje
a1c9362f69 gst/law/: Prevent warnings when negotiating caps (fixes #159338).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/law/alaw-decode.c: (alawdec_getcaps):
* gst/law/mulaw-decode.c: (mulawdec_getcaps):
Prevent warnings when negotiating caps (fixes #159338).
2004-12-01 15:18:34 +00:00
Ronald S. Bultje
a418de662f gst/ffmpegcolorspace/gstffmpegcolorspace.c: Remove old leftover that shouldn't be there...
Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_chain):
Remove old leftover that shouldn't be there...
2004-12-01 15:13:46 +00:00
Ronald S. Bultje
a91586eee0 gst-libs/gst/riff/riff-read.c: Don't forward DISCONT events (fixes #159684).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_use_event):
Don't forward DISCONT events (fixes #159684).
2004-12-01 13:23:39 +00:00
Ronald S. Bultje
5a9abb37d5 gst/playback/gstplaybin.c: Unlink manually since sometimes bin disposal (and therefore pad unlinking) is delayed, whi...
Original commit message from CVS:
* gst/playback/gstplaybin.c: (remove_sinks), (setup_sinks):
Unlink manually since sometimes bin disposal (and therefore
pad unlinking) is delayed, which will cause a new media file
to not be able to start playing instantly.
2004-12-01 13:14:56 +00:00
Ronald S. Bultje
bab43efcae gst/playback/gststreaminfo.c: On mute of an unlinked stream, check for pad availability so we don't crash on unlinked...
Original commit message from CVS:
* gst/playback/gststreaminfo.c: (stream_info_mute_pad):
On mute of an unlinked stream, check for pad availability so
we don't crash on unlinked pad.
2004-11-29 17:01:34 +00:00
Ronald S. Bultje
739c4f4724 gst/avi/gstavidemux.c: Fix quite humiliating bug in omitting 0-sized index chunks but forgetting to count them for ti...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
(gst_avi_demux_massage_index):
Fix quite humiliating bug in omitting 0-sized index chunks but
forgetting to count them for timestamps.
2004-11-29 12:41:03 +00:00
Ronald S. Bultje
7a8e6c5705 ext/a52dec/gsta52dec.c: Actually leave the loop if we failed to sync. Don't crash.
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_loop):
Actually leave the loop if we failed to sync. Don't crash.
2004-11-29 11:16:47 +00:00
Ronald S. Bultje
2dd43dc2b0 gst/mpegstream/gstdvddemux.*: Fix crash (#159759). Doesn't work, though. :-(.
Original commit message from CVS:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_get_audio_stream),
(gst_dvd_demux_process_private):
* gst/mpegstream/gstdvddemux.h:
Fix crash (#159759). Doesn't work, though. :-(.
2004-11-28 21:18:18 +00:00
Benjamin Otte
ae85b19551 gst/audioconvert/gstchannelmix.c: more overwriting protection due to modifying channels one by one instead of all at ...
Original commit message from CVS:
* gst/audioconvert/gstchannelmix.c: (gst_audio_convert_mix):
more overwriting protection due to modifying channels one by one
instead of all at once
2004-11-28 20:41:23 +00:00
Ronald S. Bultje
6776243eb6 gst/audioconvert/gstchannelmix.c: Normalize using absolute values.
Original commit message from CVS:
* gst/audioconvert/gstchannelmix.c:
(gst_audio_convert_fill_normalize):
Normalize using absolute values.
2004-11-28 19:22:07 +00:00
Julien Moutte
82aaadb598 Adding a first version of directfbvideosink.
Original commit message from CVS:
2004-11-28  Julien MOUTTE  <julien@moutte.net>

* configure.ac:
* ext/Makefile.am:
* ext/directfb/Makefile.am:
* ext/directfb/directfbvideosink.c: (gst_directfbvideosink_create),
(gst_directfbvideosink_get_pixel_format),
(gst_directfbvideosink_get_format_from_fourcc),
(gst_directfbvideosink_fixate), (gst_directfbvideosink_getcaps),
(gst_directfbvideosink_sink_link),
(gst_directfbvideosink_change_state),
(gst_directfbvideosink_chain), (gst_directfbvideosink_buffer_free),
(gst_directfbvideosink_buffer_alloc),
(gst_directfbvideosink_interface_supported),
(gst_directfbvideosink_interface_init),
(gst_directfbvideosink_navigation_send_event),
(gst_directfbvideosink_navigation_init),
(gst_directfbvideosink_set_property),
(gst_directfbvideosink_get_property),
(gst_directfbvideosink_finalize), (gst_directfbvideosink_init),
(gst_directfbvideosink_base_init),
(gst_directfbvideosink_class_init),
(gst_directfbvideosink_get_type), (plugin_init):
* ext/directfb/directfbvideosink.h: Adding a first version of
directfbvideosink.
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_init): Initializing some
more.
2004-11-28 19:08:45 +00:00
Benjamin Otte
0bc45bd2e6 gst/audioconvert/gstchannelmix.c: walk the samples backwards if out_channels > in_channels so we don't overwrite data
Original commit message from CVS:
* gst/audioconvert/gstchannelmix.c: (gst_audio_convert_mix):
walk the samples backwards if out_channels > in_channels so we don't
overwrite data
2004-11-28 18:26:36 +00:00
Ronald S. Bultje
aa609beb62 gst/audioconvert/: Implement a channel mixer.
Original commit message from CVS:
* gst/audioconvert/Makefile.am:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_init),
(gst_audio_convert_link), (gst_audio_convert_change_state),
(gst_audio_convert_channels):
* gst/audioconvert/gstchannelmix.c:
(gst_audio_convert_unset_matrix),
(gst_audio_convert_fill_identical),
(gst_audio_convert_fill_compatible),
(gst_audio_convert_detect_pos), (gst_audio_convert_fill_one_other),
(gst_audio_convert_fill_others),
(gst_audio_convert_fill_normalize),
(gst_audio_convert_fill_matrix), (gst_audio_convert_setup_matrix),
(gst_audio_convert_passthrough), (gst_audio_convert_mix):
* gst/audioconvert/gstchannelmix.h:
Implement a channel mixer.
2004-11-28 16:09:13 +00:00
Martin Soto
9f1809e728 ext/alsa/: Make alsasink actually honor gst_element_set_clock and use that clock instead of ist internal one.
Original commit message from CVS:
2004-11-28  Martin Soto  <martinsoto@users.sourceforge.net>

* ext/alsa/gstalsasink.c (gst_alsa_sink_loop):
* ext/alsa/gstalsa.h:
* ext/alsa/gstalsa.c (gst_alsa_set_clock):
Make alsasink actually honor gst_element_set_clock and use that
clock instead of ist internal one.
2004-11-28 13:35:43 +00:00
Christophe Fergeau
47ce36a793 gst/playback/gstplaybasebin.c: fixed a caps leak nullify source and decoder when going from READY to NULL so that we ...
Original commit message from CVS:
2004-11-27  Christophe Fergeau  <teuf@gnome.org>

* gst/playback/gstplaybasebin.c: (setup_source): fixed a caps leak
(gst_play_base_bin_change_state): nullify source and decoder when
going from READY to NULL so that we don't try to do weird stuff with
them when going from NULL to READY
* gst/playback/gstplaybin.c: (gst_play_bin_init): use gst_object_unref
instead of g_object_unref
(gen_video_element), (gen_audio_element): more refcounting fixes, now
it should be correct
(gst_play_bin_change_state): don't call remove_sinks if we are
currently disposing the object
2004-11-27 20:28:27 +00:00
Ronald S. Bultje
9081912af1 ext/a52dec/gsta52dec.c: Don't forget bass if it's there. Else left channel is silent...
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_loop):
Don't forget bass if it's there. Else left channel is silent...
2004-11-27 20:27:18 +00:00
Ronald S. Bultje
824bdcfdee ext/a52dec/gsta52dec.c: Don't do sample adjusting anymore, we use float audio now.
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_loop),
(gst_a52dec_change_state):
Don't do sample adjusting anymore, we use float audio now.
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_fixate):
Don't fixate to non-existing properties.
2004-11-27 20:22:42 +00:00
Ronald S. Bultje
caedcd667e ext/a52dec/gsta52dec.c: Advertise that we can do surround sound.
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_channels),
(gst_a52dec_change_state):
Advertise that we can do surround sound.
2004-11-27 19:41:26 +00:00
Ronald S. Bultje
9ad47e4257 ext/a52dec/gsta52dec.c: Add buffer-frames=0.
Original commit message from CVS:
* ext/a52dec/gsta52dec.c: (gst_a52dec_reneg):
Add buffer-frames=0.
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_get_type),
(dvdreadsrc_init), (dvdreadsrc_get_event_mask),
(dvdreadsrc_get_query_types), (dvdreadsrc_get_formats),
(dvdreadsrc_srcpad_event), (dvdreadsrc_srcpad_query),
(_seek_title), (_seek_chapter), (get_next_cell_for), (_read),
(seek_sector), (dvdreadsrc_get), (dvdreadsrc_open_file),
(dvdreadsrc_change_state), (dvdreadsrc_uri_get_type),
(dvdreadsrc_uri_get_protocols), (dvdreadsrc_uri_get_uri),
(dvdreadsrc_uri_set_uri), (dvdreadsrc_uri_handler_init):
* ext/dvdread/dvdreadsrc.h:
Add seeking, querying for bytes, sectors, title, angle and
chapter. Handle multiple chapters. Relicense to LGPL because
Billy agreed on that (thanks Billy!).
2004-11-27 17:20:26 +00:00
Christophe Fergeau
5c6c70a449 gst/audioconvert/gstaudioconvert.c: call parent dispose method
Original commit message from CVS:
2004-11-27  Christophe Fergeau  <teuf@gnome.org>

* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_dispose):
call parent dispose method
2004-11-27 14:41:51 +00:00
Martin Soto
3b48708b77 gst-libs/gst/audio/audioclock.c (gst_audio_clock_set_active)
Original commit message from CVS:
2004-11-27  Martin Soto  <martinsoto@users.sourceforge.net>

* gst-libs/gst/audio/audioclock.c (gst_audio_clock_set_active)
(gst_audio_clock_get_internal_time):
Fix active <-> inactive transitions: ensure time value always
grows and avoid abrupt value changes.
2004-11-27 09:37:20 +00:00