platform/upstream/gstreamer.git
18 years agogst/typefind/gsttypefindfunctions.c: quicktime movie files can also contain 'uuid...
Edward Hervey [Wed, 15 Feb 2006 12:07:57 +0000 (12:07 +0000)]
gst/typefind/gsttypefindfunctions.c: quicktime movie files can also contain 'uuid' atoms.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (qt_type_find):
quicktime movie files can also contain 'uuid' atoms.

18 years agogst/audioconvert/plugin.c: Register the GstAudioChannelPosition enum type with the...
Tim-Philipp Müller [Tue, 14 Feb 2006 18:52:52 +0000 (18:52 +0000)]
gst/audioconvert/plugin.c: Register the GstAudioChannelPosition enum type with the type system in the plugin_init fun...

Original commit message from CVS:
* gst/audioconvert/plugin.c: (plugin_init):
Register the GstAudioChannelPosition enum type with the type
system in the plugin_init function, so that it is known before
any element actually makes use of multi-channel stuff. This is
required for example if one wants to be able to deserialise/use
a caps string with channel positions before any pipeline has
been setup and started, like with gst-launch.

18 years agogst-libs/gst/audio/gstringbuffer.c: Add some compiler G_(UN_)LIKELY help.
Wim Taymans [Tue, 14 Feb 2006 13:45:35 +0000 (13:45 +0000)]
gst-libs/gst/audio/gstringbuffer.c: Add some compiler G_(UN_)LIKELY help.

Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_pause_unlocked), (gst_ring_buffer_delay),
(gst_ring_buffer_samples_done), (wait_segment),
(gst_ring_buffer_commit), (gst_ring_buffer_clear):
Add some compiler G_(UN_)LIKELY help.
SIGNAL the ringbuffer waiters when going to PAUSED as well to
make sure they can exit their functions. Should fix #330748

18 years agoWindows does not have long long; copy the generated _stdint.h
Thomas Vander Stichele [Mon, 13 Feb 2006 20:49:07 +0000 (20:49 +0000)]
Windows does not have long long; copy the generated _stdint.h

Original commit message from CVS:

* Makefile.am:
* configure.ac:
* win32/MANIFEST:
* win32/common/_stdint.h:
Windows does not have long long; copy the generated _stdint.h
* win32/common/interfaces-enumtypes.c:
(gst_color_balance_type_get_type), (gst_mixer_type_get_type),
(gst_mixer_track_flags_get_type),
(gst_tuner_channel_flags_get_type):
* win32/common/multichannel-enumtypes.c:
(gst_audio_channel_position_get_type):
update

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Always sync on first sample we receive when...
Wim Taymans [Mon, 13 Feb 2006 18:49:02 +0000 (18:49 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Always sync on first sample we receive when starting.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_get_time), (gst_base_audio_sink_preroll),
(gst_base_audio_sink_render), (gst_base_audio_sink_change_state):
Always sync on first sample we receive when starting.

18 years agogst/playback/gstplaybin.c: Update vis bin docs.
Wim Taymans [Mon, 13 Feb 2006 15:59:48 +0000 (15:59 +0000)]
gst/playback/gstplaybin.c: Update vis bin docs.

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gen_vis_element):
Update vis bin docs.
Move queue after tee so we don't queue video buffers but
audio samples instead. Fixes problems where the video queue
is filled and the audio queue empty.

18 years agogst-libs/gst/cdda/gstcddabasesrc.c: No need to push an EOS event here, GstBaseSrc...
Tim-Philipp Müller [Mon, 13 Feb 2006 15:17:34 +0000 (15:17 +0000)]
gst-libs/gst/cdda/gstcddabasesrc.c: No need to push an EOS event here, GstBaseSrc will do that for us when we return ...

Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_create):
No need to push an EOS event here, GstBaseSrc will do that for us
when we return FLOW_UNEXPECTED.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Use scale functions when possible.
Wim Taymans [Sun, 12 Feb 2006 14:54:55 +0000 (14:54 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Use scale functions when possible.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_get_time), (gst_base_audio_sink_setcaps),
(gst_base_audio_sink_drain), (gst_base_audio_sink_preroll),
(gst_base_audio_sink_render), (gst_base_audio_sink_change_state):
Use scale functions when possible.
Fix error messages.
Free clockid when after waiting for EOS.
Use G_(UN_)LIKLY when it makes sense.
Fix sample clipping bug found by Arwed v. Merkatz fixes #330789.

18 years agogst/playback/gstplaybasebin.c: Remove stray semi-colon (fixes #330888).
Edward Hervey [Sun, 12 Feb 2006 14:26:55 +0000 (14:26 +0000)]
gst/playback/gstplaybasebin.c: Remove stray semi-colon (fixes #330888).

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (prepare_output):
Remove stray semi-colon (fixes #330888).

18 years agosys/: Fix up the XShm call testing so that we catch errors, and don't cause new ones...
Jan Schmidt [Sat, 11 Feb 2006 23:35:55 +0000 (23:35 +0000)]
sys/: Fix up the XShm call testing so that we catch errors, and don't cause new ones by attempting to detach from a s...

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls):
Fix up the XShm call testing so that we catch errors, and don't
cause new ones by attempting to detach from a segment we failed
to attach to. Fixes #312439.

18 years agogst/typefind/gsttypefindfunctions.c: Added flv file typefind (video/x-flv).
Edward Hervey [Fri, 10 Feb 2006 11:29:55 +0000 (11:29 +0000)]
gst/typefind/gsttypefindfunctions.c: Added flv file typefind (video/x-flv).

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Added flv file typefind (video/x-flv).

18 years agogst-libs/gst/riff/riff-media.c: Added FLV1 <==> 'video/x-flash-video,flvversion=1...
Edward Hervey [Fri, 10 Feb 2006 10:53:33 +0000 (10:53 +0000)]
gst-libs/gst/riff/riff-media.c: Added FLV1 <==> 'video/x-flash-video,flvversion=1' conversion.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
Added FLV1 <==> 'video/x-flash-video,flvversion=1' conversion.
Also added the caps to the default set of riff video caps.

18 years agoext/ogg/gstoggmux.c (GstOggPad): Keep track of both the start time and the end time...
Andy Wingo [Thu, 9 Feb 2006 19:05:23 +0000 (19:05 +0000)]
ext/ogg/gstoggmux.c (GstOggPad): Keep track of both the start time and the end time of the last packet in the page.

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

* ext/ogg/gstoggmux.c (GstOggPad): Keep track of both the start
time and the end time of the last packet in the page.
(gst_ogg_mux_pad_queue_page): In addition to setting the timestamp
on the pages in our queue, set the duration as well. Reflow a
debug statement.
(gst_ogg_mux_collected): Keep track of GstOggPad->timestamp_end.
Fixes bad muxing order.

18 years agogst-libs/gst/rtp/gstbasertppayload.c: update seqnum before setting it on the packet...
Thomas Vander Stichele [Thu, 9 Feb 2006 17:04:18 +0000 (17:04 +0000)]
gst-libs/gst/rtp/gstbasertppayload.c: update seqnum before setting it on the packet; this makes sure that the timesta...

Original commit message from CVS:

* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_setcaps), (gst_basertppayload_push):
update seqnum before setting it on the packet; this makes sure
that the timestamp and seqnum properties match after pushing
a buffer

18 years agochangelog foo
Andy Wingo [Thu, 9 Feb 2006 12:16:35 +0000 (12:16 +0000)]
changelog foo

Original commit message from CVS:
changelog foo

18 years agokapowpowpow
Andy Wingo [Thu, 9 Feb 2006 11:46:03 +0000 (11:46 +0000)]
kapowpowpow

Original commit message from CVS:
kapowpowpow

18 years agogst-libs/gst/audio/gstringbuffer.c
Andy Wingo [Thu, 9 Feb 2006 11:36:18 +0000 (11:36 +0000)]
gst-libs/gst/audio/gstringbuffer.c

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

* gst-libs/gst/audio/gstringbuffer.c
(gst_ring_buffer_samples_done): Cast to guint64, fixes an integer
overflow after 13.5 hours of recording. Kapow!

* ext/alsa/gstalsasrc.c (gst_alsasrc_delay): Clamp the delay to
the buffer size -- we don't care about underrun/overrun reporting
right now, just need to return a useful value.

18 years agoconfigure.ac: Back to CVS
Jan Schmidt [Thu, 9 Feb 2006 11:21:33 +0000 (11:21 +0000)]
configure.ac: Back to CVS

Original commit message from CVS:
* configure.ac:
Back to CVS

18 years agoReleasing 0.10.3
Jan Schmidt [Thu, 9 Feb 2006 11:18:22 +0000 (11:18 +0000)]
Releasing 0.10.3

Original commit message from CVS:
Releasing 0.10.3

18 years agoconfigure.ac: Drat. Bump libtool version number for new API.
Jan Schmidt [Wed, 8 Feb 2006 18:37:38 +0000 (18:37 +0000)]
configure.ac: Drat. Bump libtool version number for new API.

Original commit message from CVS:
* configure.ac:
Drat. Bump libtool version number for new API.
Prelease 0.10.2.3 (of 0.10.3)

18 years ago0.10.2.2 prerelease (of 0.10.3).
Jan Schmidt [Wed, 8 Feb 2006 15:57:53 +0000 (15:57 +0000)]
0.10.2.2 prerelease (of 0.10.3).

Original commit message from CVS:
* configure.ac:
* win32/common/config.h:
0.10.2.2 prerelease (of 0.10.3).

18 years agogst/tcp/gsttcpclientsrc.c: Revert Andy's newsegment change pending a more correct...
Jan Schmidt [Wed, 8 Feb 2006 15:50:08 +0000 (15:50 +0000)]
gst/tcp/gsttcpclientsrc.c: Revert Andy's newsegment change pending a more correct fix.

Original commit message from CVS:
* gst/tcp/gsttcpclientsrc.c: (gst_tcp_client_src_create):
Revert Andy's newsegment change pending a more correct
fix.

18 years agoUpdate .po files
Jan Schmidt [Wed, 8 Feb 2006 12:46:14 +0000 (12:46 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

18 years agodoc fixes
Thomas Vander Stichele [Wed, 8 Feb 2006 11:04:09 +0000 (11:04 +0000)]
doc fixes

Original commit message from CVS:
doc fixes

18 years agogst/typefind/gsttypefindfunctions.c: detect more files as 3gp group and reorder the...
Thomas Vander Stichele [Wed, 8 Feb 2006 09:20:23 +0000 (09:20 +0000)]
gst/typefind/gsttypefindfunctions.c: detect more files as 3gp group and reorder the iso file formats

Original commit message from CVS:
:
* gst/typefind/gsttypefindfunctions.c: (q3gp_type_find),
(qt_type_find), (plugin_init):
detect more files as 3gp
group and reorder the iso file formats

18 years agoext/vorbis/vorbis.c: Register musicbrainz tags, so apps don't have to.
Tim-Philipp Müller [Tue, 7 Feb 2006 18:32:00 +0000 (18:32 +0000)]
ext/vorbis/vorbis.c: Register musicbrainz tags, so apps don't have to.

Original commit message from CVS:
* ext/vorbis/vorbis.c: (plugin_init):
Register musicbrainz tags, so apps don't have to.

18 years agogst-libs/gst/tag/gstvorbistag.c: Make sure we called gst_tag_register_musicbrainz_tag...
Tim-Philipp Müller [Tue, 7 Feb 2006 17:44:53 +0000 (17:44 +0000)]
gst-libs/gst/tag/gstvorbistag.c: Make sure we called gst_tag_register_musicbrainz_tags() before possibly mapping a vo...

Original commit message from CVS:
* gst-libs/gst/tag/gstvorbistag.c: (gst_tag_from_vorbis_tag),
(gst_tag_to_vorbis_tag):
Make sure we called gst_tag_register_musicbrainz_tags()
before possibly mapping a vorbiscomment string from/to a
musicbrainz tag.

18 years agogst/typefind/gsttypefindfunctions.c: In case we can't find the required number of...
Tim-Philipp Müller [Tue, 7 Feb 2006 16:16:41 +0000 (16:16 +0000)]
gst/typefind/gsttypefindfunctions.c: In case we can't find the required number of consecutive mpeg audio frames to po...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find):
In case we can't find the required number of consecutive
mpeg audio frames to positively identify an MPEG audio
stream, check if there's at least a valid mpeg audio
frame right at offset 0 and if so suggest mpeg/audio
caps with a very low probability (#153004).

18 years agogst/tcp/gsttcpclientsrc.c (gst_tcp_client_src_create): Switch to a TIME segment if...
Andy Wingo [Tue, 7 Feb 2006 15:52:26 +0000 (15:52 +0000)]
gst/tcp/gsttcpclientsrc.c (gst_tcp_client_src_create): Switch to a TIME segment if we get timestamped buffers. Requir...

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

* gst/tcp/gsttcpclientsrc.c (gst_tcp_client_src_create): Switch to
a TIME segment if we get timestamped buffers. Requires recent
fixes in core to work properly.

18 years agogst/playback/gstplaybasebin.c: Don't print the URI as part of the error message,...
Tim-Philipp Müller [Tue, 7 Feb 2006 14:57:46 +0000 (14:57 +0000)]
gst/playback/gstplaybasebin.c: Don't print the URI as part of the error message, it makes error dialogs look rather u...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (prepare_output):
Don't print the URI as part of the error message, it
makes error dialogs look rather ugly, especially if
the URI is very long or has characters in it that
need escaping.

18 years agogst/playback/gstplaybasebin.c: Error out if we have only text or subtitles, but nothi...
Tim-Philipp Müller [Tue, 7 Feb 2006 13:11:31 +0000 (13:11 +0000)]
gst/playback/gstplaybasebin.c: Error out if we have only text or subtitles, but nothing else. Also error out if we ha...

Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (prepare_output):
Error out if we have only text or subtitles, but nothing
else. Also error out if we have subtitles but no video
stream.

18 years agoext/gnomevfs/gstgnomevfssrc.c: Treat GNOME_VFS_RESULT_EOF as EOS, not as error (...
Tim-Philipp Müller [Tue, 7 Feb 2006 11:44:39 +0000 (11:44 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: Treat GNOME_VFS_RESULT_EOF as EOS, not as error (#329194).

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_create):
Treat GNOME_VFS_RESULT_EOF as EOS, not as error (#329194).
Post an error message on the bus when we encounter an
error, which will hopefully be more meaningful than the
'Internal Flow Error' message users get to see if we
just return GST_FLOW_ERROR.

18 years agoconfigure.ac (GST_MAJORMINOR): Update core version req to 0.10.2.2, for the collectpa...
Andy Wingo [Tue, 7 Feb 2006 11:28:04 +0000 (11:28 +0000)]
configure.ac (GST_MAJORMINOR): Update core version req to 0.10.2.2, for the collectpads API addition (#330244).

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

* configure.ac (GST_MAJORMINOR): Update core version req to
0.10.2.2, for the collectpads API addition (#330244).

18 years agoext/gnomevfs/gstgnomevfs.c: Return FALSE from plugin_init() when GnomeVFS can't be...
Tim-Philipp Müller [Mon, 6 Feb 2006 19:09:26 +0000 (19:09 +0000)]
ext/gnomevfs/gstgnomevfs.c: Return FALSE from plugin_init() when GnomeVFS can't be initialised for some reason (#3284...

Original commit message from CVS:
* ext/gnomevfs/gstgnomevfs.c: (plugin_init):
Return FALSE from plugin_init() when GnomeVFS can't
be initialised for some reason (#328423).

18 years agoext/pango/gsttextoverlay.c: Stick to seeking theory until i find the bug.
Julien Moutte [Mon, 6 Feb 2006 13:26:54 +0000 (13:26 +0000)]
ext/pango/gsttextoverlay.c: Stick to seeking theory until i find the bug.

Original commit message from CVS:
2006-02-06  Julien MOUTTE  <julien@moutte.net>

* ext/pango/gsttextoverlay.c: (gst_text_overlay_src_event):
Stick to seeking theory until i find the bug.
* gst/subparse/gstsubparse.c: (parse_subrip): Fix debug.

18 years agoMake theoraenc and the tests leak free. Like, really.
Jan Schmidt [Mon, 6 Feb 2006 12:38:48 +0000 (12:38 +0000)]
Make theoraenc and the tests leak free. Like, really.

Original commit message from CVS:
* ext/theora/theoraenc.c: (gst_theora_enc_class_init),
(theora_enc_finalize), (theora_enc_sink_setcaps),
(theora_set_header_on_caps), (theora_enc_chain),
(theora_enc_change_state):
* tests/check/pipelines/theoraenc.c: (GST_START_TEST):
Make theoraenc and the tests leak free. Like, really.

18 years agoAdd a finalize method to ensure we clean up state even if someone omitted the state...
Jan Schmidt [Sun, 5 Feb 2006 23:31:05 +0000 (23:31 +0000)]
Add a finalize method to ensure we clean up state even if someone omitted the state change back to NULL.

Original commit message from CVS:
(theora_enc_finalize), (theora_enc_sink_setcaps):
Add a finalize method to ensure we clean up state even if
someone omitted the state change back to NULL.

* ext/vorbis/vorbisenc.c: (gst_vorbisenc_metadata_set1),
(gst_vorbisenc_chain):
Free some more leaked bits.

* tests/check/pipelines/theoraenc.c: (start_pipeline),
(stop_pipeline):
Wait for state changes to happen if they're ASYNC.

This ought to teach those fancy pants buildbots a lesson.

18 years agogst-libs/gst/tag/gstid3tag.c: Add mapping for ID3 International Standard Recording...
Jan Schmidt [Sun, 5 Feb 2006 22:47:41 +0000 (22:47 +0000)]
gst-libs/gst/tag/gstid3tag.c: Add mapping for ID3 International Standard Recording Code tag "TSRC"

Original commit message from CVS:
* gst-libs/gst/tag/gstid3tag.c:
Add mapping for ID3 International Standard Recording Code
tag "TSRC"

18 years agoext/vorbis/vorbisenc.c: Don't leak tag names.
Jan Schmidt [Sun, 5 Feb 2006 22:44:55 +0000 (22:44 +0000)]
ext/vorbis/vorbisenc.c: Don't leak tag names.

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_metadata_set1):
Don't leak tag names.

18 years agoSplit libgsttag docs into multiple sections.
Tim-Philipp Müller [Sun, 5 Feb 2006 18:22:01 +0000 (18:22 +0000)]
Split libgsttag docs into multiple sections.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/tag/gstid3tag.c:
* gst-libs/gst/tag/gstvorbistag.c:
* gst-libs/gst/tag/tags.c:
Split libgsttag docs into multiple sections.

18 years agoAdd libgsttag to the docs.
Tim-Philipp Müller [Sun, 5 Feb 2006 18:01:33 +0000 (18:01 +0000)]
Add libgsttag to the docs.

Original commit message from CVS:
* docs/libs/Makefile.am:
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/tag/gstid3tag.c: (gst_tag_from_id3_tag):
* gst-libs/gst/tag/gstvorbistag.c:
* gst-libs/gst/tag/tag.h:
* gst-libs/gst/tag/tags.c:
Add libgsttag to the docs.

18 years agoext/pango/gsttextoverlay.c: Fix clockoverlay.
Julien Moutte [Sun, 5 Feb 2006 17:21:23 +0000 (17:21 +0000)]
ext/pango/gsttextoverlay.c: Fix clockoverlay.

Original commit message from CVS:
2006-02-05  Julien MOUTTE  <julien@moutte.net>

* ext/pango/gsttextoverlay.c: (gst_text_overlay_finalize),
(gst_text_overlay_init), (gst_text_overlay_src_event),
(gst_text_overlay_collected): Fix clockoverlay.

18 years agodocs/libs/compiling.sgml: Fix typo: it's pkg-config, not pkg-gconfig
Tim-Philipp Müller [Sun, 5 Feb 2006 17:15:17 +0000 (17:15 +0000)]
docs/libs/compiling.sgml: Fix typo: it's pkg-config, not pkg-gconfig

Original commit message from CVS:
* docs/libs/compiling.sgml:
Fix typo: it's pkg-config, not pkg-gconfig
* docs/libs/gst-plugins-base-libs-docs.sgml:
* docs/libs/gst-plugins-base-libs-sections.txt:
* docs/libs/tmpl/gstgconf.sgml:
There is no libgstgconf in 0.10, remove it
from the docs.

18 years agodocs/libs/tmpl/gstcolorbalance.sgml: Updated.
Julien Moutte [Sun, 5 Feb 2006 16:03:48 +0000 (16:03 +0000)]
docs/libs/tmpl/gstcolorbalance.sgml: Updated.

Original commit message from CVS:
2006-02-05  Julien MOUTTE  <julien@moutte.net>

* docs/libs/tmpl/gstcolorbalance.sgml: Updated.
* ext/pango/gsttextoverlay.c: (gst_text_overlay_init),
(gst_text_overlay_src_event), (gst_text_overlay_collected):
* gst/subparse/gstsubparse.c: (gst_sub_parse_dispose),
(gst_sub_parse_class_init), (gst_sub_parse_init),
(gst_sub_parse_src_event), (parse_mdvdsub), (parse_subrip),
(parse_mpsub), (parser_state_init), (handle_buffer),
(gst_sub_parse_chain), (gst_sub_parse_sink_event),
(plugin_init):
* gst/subparse/gstsubparse.h: Introduce seeking code.

18 years agogst-libs/gst/tag/gstvorbistag.c: Add comment about LANGUAGE tag inconsistency (we...
Tim-Philipp Müller [Sun, 5 Feb 2006 15:14:06 +0000 (15:14 +0000)]
gst-libs/gst/tag/gstvorbistag.c: Add comment about LANGUAGE tag inconsistency (we want

Original commit message from CVS:
* gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_add):
Add comment about LANGUAGE tag inconsistency (we want
ISO-639-1, but extract three-letter identifiers?)
* po/POTFILES.in:
Add two translatable files.

18 years agogst-libs/gst/tag/: Forward-port some tags stuff from the 0.8 branch. This is mostly...
Tim-Philipp Müller [Sun, 5 Feb 2006 14:59:28 +0000 (14:59 +0000)]
gst-libs/gst/tag/: Forward-port some tags stuff from the 0.8 branch. This is mostly the addition of musicbrainz tags ...

Original commit message from CVS:
* gst-libs/gst/tag/Makefile.am:
* gst-libs/gst/tag/gstvorbistag.c: (gst_vorbis_tag_add):
* gst-libs/gst/tag/tag.h:
* gst-libs/gst/tag/tags.c:
(gst_tag_register_musicbrainz_tags_internal),
(gst_tag_register_musicbrainz_tags):
Forward-port some tags stuff from the 0.8 branch. This is
mostly the addition of musicbrainz tags and their mapping
to vorbistags, and a vorbistag mapping of the language tag.

18 years agogst/playback/gstplaybin.c: Fix broken code refactoring.
Julien Moutte [Sun, 5 Feb 2006 12:06:25 +0000 (12:06 +0000)]
gst/playback/gstplaybin.c: Fix broken code refactoring.

Original commit message from CVS:
2006-02-05  Julien MOUTTE  <julien@moutte.net>

* gst/playback/gstplaybin.c: (gen_text_element): Fix broken code
refactoring.

18 years agoAdd Dirac typefinding and add dirac format to oggmux.
David Schleef [Sun, 5 Feb 2006 03:05:41 +0000 (03:05 +0000)]
Add Dirac typefinding and add dirac format to oggmux.

Original commit message from CVS:
* ext/ogg/gstoggmux.c:
* gst/typefind/gsttypefindfunctions.c:
Add Dirac typefinding and add dirac format to oggmux.

18 years agoImprove error message for liboil missingness.
Michael Smith [Sat, 4 Feb 2006 07:49:03 +0000 (07:49 +0000)]
Improve error message for liboil missingness.

Original commit message from CVS:
Improve error message for liboil missingness.

18 years agogst/playback/gstdecodebin.c: Don't put essential function call into g_return_*()...
Tim-Philipp Müller [Fri, 3 Feb 2006 19:23:41 +0000 (19:23 +0000)]
gst/playback/gstdecodebin.c: Don't put essential function call into g_return_*() macro, otherwise it'll all be replac...

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (try_to_link_1):
Don't put essential function call into
g_return_*() macro, otherwise it'll all be
replaced by NOOPs when compiling with
G_DISABLE_CHECKS defined.

18 years agoJust make it compile with --disable-gst-debug.
Edgard Lima [Fri, 3 Feb 2006 17:45:44 +0000 (17:45 +0000)]
Just make it compile with --disable-gst-debug.

Original commit message from CVS:
Just make it compile with --disable-gst-debug.

18 years agoext/alsa/gstalsasink.*: Add lock to protect alsa calls.
Wim Taymans [Fri, 3 Feb 2006 12:51:47 +0000 (12:51 +0000)]
ext/alsa/gstalsasink.*: Add lock to protect alsa calls.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_finalise),
(gst_alsasink_class_init), (gst_alsasink_init),
(gst_alsasink_write), (gst_alsasink_reset):
* ext/alsa/gstalsasink.h:
Add lock to protect alsa calls.
Implement reset to flush samples ASAP, does not work
with dmix though.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Ugh.. getting late I guess...
Wim Taymans [Thu, 2 Feb 2006 18:18:31 +0000 (18:18 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Ugh.. getting late I guess...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_provide_clock):
Ugh.. getting late I guess...

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Don't try to provide a clock when we are not...
Wim Taymans [Thu, 2 Feb 2006 18:13:26 +0000 (18:13 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Don't try to provide a clock when we are not negotiated since we might not be ...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_provide_clock),
(gst_base_audio_sink_set_property),
(gst_base_audio_sink_get_property), (gst_base_audio_sink_render):
Don't try to provide a clock when we are not negotiated since
we might not be able to make it run.

18 years agogst/playback/gstdecodebin.c: Unlinking two source pads is ... hard.
Tim-Philipp Müller [Thu, 2 Feb 2006 17:51:48 +0000 (17:51 +0000)]
gst/playback/gstdecodebin.c: Unlinking two source pads is ... hard.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (try_to_link_1):
Unlinking two source pads is ... hard.

18 years agogst-libs/gst/audio/TODO: Updated.
Wim Taymans [Thu, 2 Feb 2006 12:14:35 +0000 (12:14 +0000)]
gst-libs/gst/audio/TODO: Updated.

Original commit message from CVS:
* gst-libs/gst/audio/TODO:
Updated.

* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_drain), (gst_base_audio_sink_event):
On EOS, wait till the last sample is played before posting EOS.

18 years agocomment on my understanding
Thomas Vander Stichele [Thu, 2 Feb 2006 08:53:27 +0000 (08:53 +0000)]
comment on my understanding

Original commit message from CVS:
comment on my understanding

18 years agoreformat to fit 80 chars
Thomas Vander Stichele [Thu, 2 Feb 2006 08:47:42 +0000 (08:47 +0000)]
reformat to fit 80 chars

Original commit message from CVS:
reformat to fit 80 chars

18 years agogst-libs/gst/rtp/gstbasertpdepayload.c: setting queue_delay to zero. Also avoid threa...
Kai Vehmanen [Thu, 2 Feb 2006 00:04:37 +0000 (00:04 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: setting queue_delay to zero. Also avoid thread being started if queue_delay i...

Original commit message from CVS:
2006-02-01  Philippe Kalaf <burger at speedy dot org>

* gst-libs/gst/rtp/gstbasertpdepayload.c:
Patch by Kai Vehmanen : Adds ability to enable newsegment bypass by
setting queue_delay to zero. Also avoid thread being started if
queue_delay is zero.

18 years agogst/playback/test6.c: Make test work again by connecting fakesinks to each decoded...
Tim-Philipp Müller [Wed, 1 Feb 2006 14:51:29 +0000 (14:51 +0000)]
gst/playback/test6.c: Make test work again by connecting fakesinks to each decoded pad, which makes the pipeline wait...

Original commit message from CVS:
* gst/playback/test6.c: (new_decoded_pad_cb), (show_error), (main):
Make test work again by connecting fakesinks to each decoded pad,
which makes the pipeline wait until each fakesink has a buffer
queued before going to PAUSED state. At that point we know the
decodebin pads are negotiated.

18 years agogst/: Pass unhandled queries to the parent class's query function.
Tim-Philipp Müller [Wed, 1 Feb 2006 11:59:47 +0000 (11:59 +0000)]
gst/: Pass unhandled queries to the parent class's query function.

Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_query),
(gst_cdda_base_src_handle_event):
* gst/audiotestsrc/gstaudiotestsrc.c: (gst_audio_test_src_query):
Pass unhandled queries to the parent class's query function.

18 years agoPass unhandled queries upstream instead of just dropping them (#326447). Also, fix...
Tim-Philipp Müller [Wed, 1 Feb 2006 11:56:11 +0000 (11:56 +0000)]
Pass unhandled queries upstream instead of just dropping them (#326447). Also, fix supported query types list for som...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_query_types),
(gst_ogg_pad_src_query):
* ext/ogg/gstogmparse.c: (gst_ogm_parse_sink_query):
* ext/theora/theoradec.c: (theora_dec_src_query),
(theora_dec_sink_query):
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query),
(vorbis_dec_sink_query):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_src_query),
(gst_vorbisenc_sink_query):
* gst/adder/gstadder.c: (gst_adder_query):
Pass unhandled queries upstream instead of just
dropping them (#326447). Also, fix supported
query types list for some elements.

18 years agogst/typefind/gsttypefindfunctions.c: Fix typefinding for audio/x-au, audio/x-paris...
Tim-Philipp Müller [Wed, 1 Feb 2006 09:58:15 +0000 (09:58 +0000)]
gst/typefind/gsttypefindfunctions.c: Fix typefinding for audio/x-au, audio/x-paris and audio/iLBC-sh. We cannot use t...

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (au_type_find),
(paris_type_find), (ilbc_type_find), (plugin_init):
Fix typefinding for audio/x-au, audio/x-paris and
audio/iLBC-sh. We cannot use the START_WITH macros
here, because there can only be one typefind factory
with the same name (caps), so the second one would
replace the first one and the first one would never
be called when doing typefinding (see #161712).

18 years agoext/vorbis/vorbisdec.c: Use scale_int when we can, add some more scaling.
Wim Taymans [Tue, 31 Jan 2006 19:25:10 +0000 (19:25 +0000)]
ext/vorbis/vorbisdec.c: Use scale_int when we can, add some more scaling.

Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_convert),
(vorbis_handle_header_packet), (vorbis_dec_push),
(vorbis_handle_data_packet):
Use scale_int when we can, add some more scaling.
Check packettype before parsing it.

18 years agoext/theora/theoradec.c: Call right _scale functions.
Wim Taymans [Tue, 31 Jan 2006 17:44:35 +0000 (17:44 +0000)]
ext/theora/theoradec.c: Call right _scale functions.

Original commit message from CVS:
* ext/theora/theoradec.c: (_theora_granule_time),
(theora_dec_src_convert), (theora_dec_sink_convert):
Call right _scale functions.
Use parameter instead of some other random value.

18 years agoext/theora/theoradec.c: Use higher precision timestamps calculation.
Wim Taymans [Tue, 31 Jan 2006 17:27:00 +0000 (17:27 +0000)]
ext/theora/theoradec.c: Use higher precision timestamps calculation.

Original commit message from CVS:
* ext/theora/theoradec.c: (_theora_granule_frame),
(_theora_granule_time), (_inc_granulepos),
(theora_dec_src_convert), (theora_dec_sink_convert),
(theora_handle_type_packet), (theora_handle_data_packet),
(theora_dec_chain):
Use higher precision timestamps calculation.
Convert some other conversions to _scale.

18 years agogst/: initialize gst_controller before using
Stefan Kost [Tue, 31 Jan 2006 17:19:09 +0000 (17:19 +0000)]
gst/: initialize gst_controller before using

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audio_test_src_create_sine_table), (plugin_init):
* gst/volume/gstvolume.c: (plugin_init):
initialize gst_controller before using

18 years agotests/check/pipelines/: Define constant using G_GINT64_CONSTANT to avoid errors when...
Jan Schmidt [Tue, 31 Jan 2006 16:26:57 +0000 (16:26 +0000)]
tests/check/pipelines/: Define constant using G_GINT64_CONSTANT to avoid errors when passing it around - otherwise it...

Original commit message from CVS:
* tests/check/pipelines/theoraenc.c:
* tests/check/pipelines/vorbisenc.c:
Define constant using G_GINT64_CONSTANT to avoid errors when
passing it around - otherwise it gets truncated to 32 bits.

Fixes failing tests.

18 years agosys/v4l/gstv4lsrc.c (gst_v4lsrc_set_caps): Don't segfault if the caps being set doesn...
Andy Wingo [Tue, 31 Jan 2006 15:36:13 +0000 (15:36 +0000)]
sys/v4l/gstv4lsrc.c (gst_v4lsrc_set_caps): Don't segfault if the caps being set doesn't have a framerate value. Basic...

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

* sys/v4l/gstv4lsrc.c (gst_v4lsrc_set_caps): Don't segfault if the
caps being set doesn't have a framerate value. Basically a stopgap
measure.

* ext/ogg/gstoggmux.c (GST_BUFFER_END_TIME): New macro. Not
technically correct enough to put into core though.
(gst_ogg_mux_dequeue_page): Use END_TIME instead of TIMESTAMP +
DURATION. Fixes theoraenc ! oggmux.

* sys/v4l/gstv4lsrc.c (gst_v4lsrc_fixate): Fixate to the nearest
fraction, not double.

18 years agoupdate with latest files
Christian Schaller [Tue, 31 Jan 2006 12:23:35 +0000 (12:23 +0000)]
update with latest files

Original commit message from CVS:
update with latest files

18 years agowin32/vs7: add vs7 project files created by Sergey Scobich
Sébastien Moutte [Mon, 30 Jan 2006 23:42:54 +0000 (23:42 +0000)]
win32/vs7: add vs7 project files created by Sergey Scobich

Original commit message from CVS:
* win32/vs7:
add vs7 project files created by Sergey Scobich

18 years agowin32/vs8: add vs8 project files created by Sergey Scobich
Sébastien Moutte [Mon, 30 Jan 2006 22:18:53 +0000 (22:18 +0000)]
win32/vs8: add vs8 project files created by Sergey Scobich

Original commit message from CVS:
* win32/vs8:
add vs8 project files created by Sergey Scobich

18 years agoext/ogg/gstoggmux.c (gst_ogg_mux_dequeue_page): Compare timestamp + duration, not...
Andy Wingo [Mon, 30 Jan 2006 19:22:22 +0000 (19:22 +0000)]
ext/ogg/gstoggmux.c (gst_ogg_mux_dequeue_page): Compare timestamp + duration, not just timestamp -- ogg pages should ...

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

* ext/ogg/gstoggmux.c (gst_ogg_mux_dequeue_page): Compare
timestamp + duration, not just timestamp -- ogg pages should be
ordered by stop time. Necessary fix given the change in vorbis
timestamps.

18 years agoext/theora/theoraenc.c (theora_enc_sink_setcaps)
Andy Wingo [Mon, 30 Jan 2006 19:21:07 +0000 (19:21 +0000)]
ext/theora/theoraenc.c (theora_enc_sink_setcaps)

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

* ext/theora/theoraenc.c (theora_enc_sink_setcaps)
(gst_theora_enc_init): Pull the granule shift out of the encoder.
(granulepos_add): New function, handles the messiness of adjusting
granulepos values.
(theora_buffer_from_packet):
(theora_enc_chain):
(theora_enc_sink_event): Use granulepos_add, not +.

* tests/check/pipelines/theoraenc.c
(check_buffer_granulepos_from_starttime): Just check the frame
count, not the actual granulepos -- we can't dictate to the
encoder when it should be placing keyframes.

18 years agoext/gnomevfs/gstgnomevfssrc.c: SERVICE_NOT_AVAILABLE happens for example when you...
Thomas Vander Stichele [Mon, 30 Jan 2006 18:17:19 +0000 (18:17 +0000)]
ext/gnomevfs/gstgnomevfssrc.c: SERVICE_NOT_AVAILABLE happens for example when you're trying to play an  stream...

Original commit message from CVS:

* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_start):
SERVICE_NOT_AVAILABLE happens for example when you're trying to
play an http:// stream from a server that's not serving

18 years agotests/check/pipelines/: Totally remove the UINT64_CONSTANT macro, doesn't appear...
Andy Wingo [Mon, 30 Jan 2006 17:08:11 +0000 (17:08 +0000)]
tests/check/pipelines/: Totally remove the UINT64_CONSTANT macro, doesn't appear to be needed or available.

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

* tests/check/pipelines/vorbisenc.c (TIMESTAMP_OFFSET):
* tests/check/pipelines/theoraenc.c (TIMESTAMP_OFFSET): Totally
remove the UINT64_CONSTANT macro, doesn't appear to be needed or
available.

18 years agoext/theora/: Same changes as were done to vorbisenc, although theoraenc was timestamp...
Andy Wingo [Mon, 30 Jan 2006 17:01:54 +0000 (17:01 +0000)]
ext/theora/: Same changes as were done to vorbisenc, although theoraenc was timestamping correctly. Added handling of...

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

* ext/theora/gsttheoraenc.h:
* ext/theora/theoraenc.c: Same changes as were done to vorbisenc,
although theoraenc was timestamping correctly. Added handling of
streams that start with nonzero timestamps.

* tests/check/Makefile.am:
* tests/check/pipelines/theoraenc.c: New file, basically does same
tests as vorbisenc.

* tests/check/pipelines/vorbisenc.c: I claim these bugs.

18 years agogst-libs/gst/audio/gstaudiosink.c: Implement pause that does not wait for completion.
Wim Taymans [Mon, 30 Jan 2006 16:19:33 +0000 (16:19 +0000)]
gst-libs/gst/audio/gstaudiosink.c: Implement pause that does not wait for completion.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosink.c:
(gst_audioringbuffer_class_init), (gst_audioringbuffer_release),
(gst_audioringbuffer_pause):
Implement pause that does not wait for completion.

* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render), (gst_base_audio_sink_change_state):
Don't drop buffers when going to PAUSED but perform preroll on
remaining samples now that core base class supports this.

* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_release),
(gst_ring_buffer_pause_unlocked), (gst_ring_buffer_stop),
(gst_ring_buffer_commit):
Pause should not signal waiters.
Implement return value of _commit correctly.

18 years agotests/check/Makefile.am (check_vorbis): Add pipelines/vorbisenc.
Andy Wingo [Mon, 30 Jan 2006 15:01:28 +0000 (15:01 +0000)]
tests/check/Makefile.am (check_vorbis): Add pipelines/vorbisenc.

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

* tests/check/Makefile.am (check_vorbis): Add pipelines/vorbisenc.

* ext/vorbis/vorbisenc.c (gst_vorbisenc_buffer_from_packet): Logic
updated to timestamp from the first sample, not the last.
(gst_vorbisenc_buffer_from_header_packet): New function, takes
special care of granulepos and timestamp for header packets.
(gst_vorbisenc_chain): Reflow, fix some leaks, and handle the case
when the first buffer has a nonzero timestamp.

* ext/vorbis/vorbisenc.h (GstVorbisEnc.granulepos_offset)
(GstVorbisEnc.subgranule_offset): New members. Take care of the
case when the first audio buffer we get has a nonzero timestamp.
(GstVorbisEnc.next_ts): Renamed from prev_ts, because now we
properly timestamp vorbis buffers with the time of the first
sample, not the last.

* ext/vorbis/vorbisenc.c (granulepos_to_clocktime): Renamed from
vorbis_granule_time_copy -- now it takes the granule/subgranule
offset into account.

* tests/check/pipelines/vorbisenc.c: New test for correctness of
timestamps, durations, and granulepos on buffers produced by
vorbisenc.

18 years agogst/ffmpegcolorspace/gstffmpegcodecmap.c: Patch from Eric Jonas to support conversion...
Eric Jonas [Mon, 30 Jan 2006 14:42:28 +0000 (14:42 +0000)]
gst/ffmpegcolorspace/gstffmpegcodecmap.c: Patch from Eric Jonas to support conversions to/from UYVY (Fixes: #324626)

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt):
Patch from Eric Jonas to support conversions to/from UYVY
(Fixes: #324626)

18 years agogst/playback/: Implement subtitles.
Julien Moutte [Mon, 30 Jan 2006 08:11:14 +0000 (08:11 +0000)]
gst/playback/: Implement subtitles.

Original commit message from CVS:
2006-01-30  Julien MOUTTE  <julien@moutte.net>

* gst/playback/gstplaybasebin.c: (group_commit),
(queue_overrun),
(setup_subtitle), (setup_source), (set_active_source):
* gst/playback/gstplaybin.c: (gst_play_bin_dispose),
(gen_text_element), (gen_audio_element), (gen_vis_element),
(remove_sinks), (add_sink), (setup_sinks): Implement subtitles.

18 years agogst-libs/gst/audio/audio.h: (GST_CLOCK_TIME_TO_FRAMES)
Sébastien Moutte [Sun, 29 Jan 2006 19:13:39 +0000 (19:13 +0000)]
gst-libs/gst/audio/audio.h: (GST_CLOCK_TIME_TO_FRAMES)

Original commit message from CVS:
* gst-libs/gst/audio/audio.h: (GST_CLOCK_TIME_TO_FRAMES)
* gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_render)
use of gst_guint64_to_gdouble to be compliant with vs6
* gst/playback/gstdecodebin.c: (try_to_link_1)
* gst/videorate/videorate.c: (gst_video_rate_blank_data)
use of G_GINT64_CONSTANT for int64 constants
* win32/common/libgstinterfaces.def:
export some symbols (gst_mixer_get_type,gst_mixer_track_get_type)
* win32/vs6:
update and add new project files

18 years agoadd a win32-update rule like in core, and copy over enumtypes files
Thomas Vander Stichele [Sun, 29 Jan 2006 18:21:12 +0000 (18:21 +0000)]
add a win32-update rule like in core, and copy over enumtypes files

Original commit message from CVS:

* Makefile.am:
* win32/MANIFEST:
* win32/common/interfaces-enumtypes.c:
(gst_color_balance_type_get_type), (gst_mixer_type_get_type),
(gst_mixer_track_flags_get_type),
(gst_tuner_channel_flags_get_type):
* win32/common/interfaces-enumtypes.h:
* win32/common/multichannel-enumtypes.c:
(gst_audio_channel_position_get_type):
* win32/common/multichannel-enumtypes.h:
add a win32-update rule like in core, and copy over enumtypes files

18 years agogenerate win32/common/config.h
Thomas Vander Stichele [Sun, 29 Jan 2006 18:07:51 +0000 (18:07 +0000)]
generate win32/common/config.h

Original commit message from CVS:
generate win32/common/config.h

18 years agowin32/: add config files just like in core
Thomas Vander Stichele [Sun, 29 Jan 2006 18:05:42 +0000 (18:05 +0000)]
win32/: add config files just like in core

Original commit message from CVS:

* win32/MANIFEST:
* win32/common/config.h:
* win32/common/config.h.in:
add config files just like in core

18 years agoext/alsa/: Update all error messages. All of them should either use the default...
Thomas Vander Stichele [Sat, 28 Jan 2006 18:22:06 +0000 (18:22 +0000)]
ext/alsa/: Update all error messages.  All of them should either use the default translated message, or actually prov...

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_init), (set_hwparams),
(set_swparams), (gst_alsasink_prepare), (gst_alsasink_unprepare),
(gst_alsasink_close), (gst_alsasink_write), (gst_alsasink_reset):
* ext/alsa/gstalsasrc.c: (gst_alsasrc_init), (set_hwparams),
(set_swparams), (gst_alsasrc_open), (gst_alsasrc_prepare),
(gst_alsasrc_unprepare), (gst_alsasrc_read):
Update all error messages.  All of them should either use
the default translated message, or actually provide a
translatable string.
Make the string for channel count problems meaningful.

18 years agogst-libs/gst/audio/gstringbuffer.c: Make gcc-4.1 happy (part of #327357).
Tim-Philipp Müller [Sat, 28 Jan 2006 18:19:18 +0000 (18:19 +0000)]
gst-libs/gst/audio/gstringbuffer.c: Make gcc-4.1 happy (part of #327357).

Original commit message from CVS:
* gst-libs/gst/audio/gstringbuffer.c: (build_linear_format):
Make gcc-4.1 happy (part of #327357).

18 years agosys/v4l/v4l_calls.c: check for and throw RESOURCE_BUSY
Thomas Vander Stichele [Sat, 28 Jan 2006 16:35:47 +0000 (16:35 +0000)]
sys/v4l/v4l_calls.c: check for and throw RESOURCE_BUSY

Original commit message from CVS:

* sys/v4l/v4l_calls.c: (gst_v4l_open):
check for and throw RESOURCE_BUSY

18 years agogst/videoscale/vs_scanline.c: Oops, *that's* why I never checked in this change ...
David Schleef [Sat, 28 Jan 2006 02:13:14 +0000 (02:13 +0000)]
gst/videoscale/vs_scanline.c: Oops, *that's* why I never checked in this change -- it requires liboil features not in...

Original commit message from CVS:
* gst/videoscale/vs_scanline.c: Oops, *that's* why I never
checked in this change -- it requires liboil features not
in 0.3.6.  Revert parts.

18 years agoupdate liboil requirement to 0.3.6
David Schleef [Fri, 27 Jan 2006 23:40:19 +0000 (23:40 +0000)]
update liboil requirement to 0.3.6

Original commit message from CVS:
* REQUIREMENTS:
* configure.ac: update liboil requirement to 0.3.6
* gst/videoscale/Makefile.am:
* gst/videoscale/vs_scanline.c: liboilify

18 years agoext/libvisual/visual.c: When pad_alloc returns a GstFlowReturn other than GST_FLOW_OK...
Jan Schmidt [Fri, 27 Jan 2006 17:00:09 +0000 (17:00 +0000)]
ext/libvisual/visual.c: When pad_alloc returns a GstFlowReturn other than GST_FLOW_OK, make sure it is passed upstream.

Original commit message from CVS:
* ext/libvisual/visual.c: (get_buffer):
When pad_alloc returns a GstFlowReturn other
than GST_FLOW_OK, make sure it is passed upstream.

18 years agoext/alsa/gstalsasink.c: Free the device name string.
Jan Schmidt [Fri, 27 Jan 2006 01:36:01 +0000 (01:36 +0000)]
ext/alsa/gstalsasink.c: Free the device name string.

Original commit message from CVS:
* ext/alsa/gstalsasink.c: (gst_alsasink_finalise),
(gst_alsasink_class_init):
Free the device name string.

* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init),
(gst_ogg_mux_request_new_pad), (gst_ogg_mux_release_pad),
(gst_ogg_mux_handle_src_event), (gst_ogg_mux_clear_collectpads):
Don't remove a pad from the collectpads structure until it
is released - it's a request pad, and may receive data again
if the element gets moved back to PLAYING state.

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support):
Ensure we turn on double buffering on the Xv port, and
set the colour key to something dark and mysterious that
isn't black.

18 years agoext/: - a library should not call setlocale. see Libraries node in gettext manual
Thomas Vander Stichele [Fri, 27 Jan 2006 01:06:29 +0000 (01:06 +0000)]
ext/: - a library should not call setlocale. see Libraries node in gettext manual

Original commit message from CVS:

* ext/alsa/gstalsaplugin.c: (plugin_init):
* ext/cdparanoia/gstcdparanoiasrc.c:
(gst_cd_paranoia_src_base_init), (plugin_init):
* ext/gnomevfs/gstgnomevfs.c: (plugin_init):
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_plugin_init):
- a library should not call setlocale. see Libraries node in
gettext manual
- make sure all plugins that use translation do bindtextdomain
to point to the localedir
* gst/playback/gstplaybin.c: (gen_vis_element), (add_sink),
(setup_sinks), (plugin_init):
all this, and check for NULL when creating sinks

18 years agogst/subparse/gstsubparse.c: Make typefinding of subtitles work again.
Julien Moutte [Thu, 26 Jan 2006 23:21:31 +0000 (23:21 +0000)]
gst/subparse/gstsubparse.c: Make typefinding of subtitles work again.

Original commit message from CVS:
2006-01-27  Julien MOUTTE  <julien@moutte.net>

* gst/subparse/gstsubparse.c: (gst_subparse_type_find),
(plugin_init): Make typefinding of subtitles work again.

18 years agogst/typefind/gsttypefindfunctions.c: Backport a bunch of typefinding fixes from the...
Tim-Philipp Müller [Thu, 26 Jan 2006 20:40:20 +0000 (20:40 +0000)]
gst/typefind/gsttypefindfunctions.c: Backport a bunch of typefinding fixes from the 0.8 branch.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (aac_type_find),
(mp3_type_frame_length_from_header), (mp3_type_find),
(wavpack_type_find), (m4a_type_find), (ircam_type_find),
(plugin_init):
Backport a bunch of typefinding fixes from the 0.8 branch.
Also, improve wavpack typefinding: if we can't peek the
entire wavpack block, try to parse the bits we can get and
see if we find what we're looking for in those.

18 years agosys/: Handle some more cases of pixel aspect ratio.
Julien Moutte [Thu, 26 Jan 2006 19:17:38 +0000 (19:17 +0000)]
sys/: Handle some more cases of pixel aspect ratio.

Original commit message from CVS:
2006-01-26  Julien MOUTTE  <julien@moutte.net>

* sys/ximage/ximagesink.c:
(gst_ximagesink_calculate_pixel_aspect_ratio):
* sys/xvimage/xvimagesink.c:
(gst_xvimagesink_calculate_pixel_aspect_ratio): Handle some
more cases of pixel aspect ratio.

18 years agogst/playback/gstdecodebin.c: Also consider the flush-start and tag events as unblocke...
Edward Hervey [Thu, 26 Jan 2006 13:09:24 +0000 (13:09 +0000)]
gst/playback/gstdecodebin.c: Also consider the flush-start and tag events as unblockers for the pad probes.

Original commit message from CVS:
* gst/playback/gstdecodebin.c: (pad_probe):
Also consider the flush-start and tag events as unblockers
for the pad probes.

18 years agogst/playback/gstplaybin.c: On the fly visualisation switch, works disabling, enabling...
Julien Moutte [Thu, 26 Jan 2006 12:32:58 +0000 (12:32 +0000)]
gst/playback/gstplaybin.c: On the fly visualisation switch, works disabling, enabling as well but it won't be able to...

Original commit message from CVS:
2006-01-26  Julien MOUTTE  <julien@moutte.net>

* gst/playback/gstplaybin.c: (gst_play_bin_init),
(gst_play_bin_dispose), (gst_play_bin_vis_unblocked),
(gst_play_bin_vis_blocked), (gst_play_bin_set_property):
On the fly visualisation switch, works disabling, enabling as
well but it won't be able to enable vis in a playbin that was
created with no visualisation.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Undo previous commit, it breaks resume after...
Wim Taymans [Wed, 25 Jan 2006 10:50:32 +0000 (10:50 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Undo previous commit, it breaks resume after pause.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render), (gst_base_audio_sink_change_state):
Undo previous commit, it breaks resume after pause.

18 years agogst-libs/gst/audio/gstbaseaudiosink.c: Improve debugging.
Wim Taymans [Wed, 25 Jan 2006 09:27:01 +0000 (09:27 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Improve debugging.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_setcaps), (gst_base_audio_sink_event),
(gst_base_audio_sink_preroll), (gst_base_audio_sink_render):
Improve debugging.
Post error when caps cannot be parsed.
Resync on discontinuity in the stream.
Clip samples to segment boundaries.
return WRONG_STATE sooner when we are flushing.

* gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_init),
(gst_base_audio_src_get_time), (gst_base_audio_src_create):
Make audiosrc operate in TIME.
Set TIMESTAMP and DURATION on buffers.