platform/upstream/gstreamer.git
15 years agogst/flv/gstflvdemux.*: If our index was created by the element and not provided from...
Sebastian Dröge [Mon, 27 Oct 2008 09:14:45 +0000 (09:14 +0000)]
gst/flv/gstflvdemux.*: If our index was created by the element and not provided from the outside we should destroy it...

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_change_state),
(gst_flv_demux_set_index), (gst_flv_demux_init):
* gst/flv/gstflvdemux.h:
If our index was created by the element and not provided from the
outside we should destroy it when starting a new stream to get
all old entries removed.

15 years agogst/flv/gstflvdemux.c: Improve debugging a bit when pulling a buffer from upstream...
Sebastian Dröge [Mon, 27 Oct 2008 09:12:33 +0000 (09:12 +0000)]
gst/flv/gstflvdemux.c: Improve debugging a bit when pulling a buffer from upstream fails.

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_pull_range):
Improve debugging a bit when pulling a buffer from upstream fails.

15 years agogst/flv/: Close the currently playing segment from the streaming thread instead of...
Sebastian Dröge [Mon, 27 Oct 2008 09:10:54 +0000 (09:10 +0000)]
gst/flv/: Close the currently playing segment from the streaming thread instead of the thread where the seek event is...

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup),
(gst_flv_demux_handle_seek_pull), (gst_flv_demux_dispose):
* gst/flv/gstflvdemux.h:
* gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video):
Close the currently playing segment from the streaming thread
instead of the thread where the seek event is handled.

15 years agogst/mpegdemux/mpegtspacketizer.c: Add support for the frequency list descriptor,...
David Härdeman [Mon, 27 Oct 2008 08:57:27 +0000 (08:57 +0000)]
gst/mpegdemux/mpegtspacketizer.c: Add support for the frequency list descriptor, which provides additional frequencie...

Original commit message from CVS:
Patch by: David Härdeman <david at hardeman dot nu>
* gst/mpegdemux/mpegtspacketizer.c: (mpegts_packetizer_parse_nit):
Add support for the frequency list descriptor, which provides
additional frequencies that should be scanned by a DVB application.
Fixes bug #557814.

15 years agogst/mpegtsmux/mpegtsmux.c: Fix EOS logic by correctly popping the collect pad buffers...
vanista [Mon, 27 Oct 2008 08:52:50 +0000 (08:52 +0000)]
gst/mpegtsmux/mpegtsmux.c: Fix EOS logic by correctly popping the collect pad buffers only when we've chosen to use t...

Original commit message from CVS:
Patch by: vanista <vanista at gmail dot com>
* gst/mpegtsmux/mpegtsmux.c: (mpegtsmux_choose_best_stream):
Fix EOS logic by correctly popping the collect pad buffers only
when we've chosen to use them instead of popping them always and
storing them in a private queue.
Before the pipeline would deadlock if all pads go EOS at the same
time. Fixes bug #557763.

15 years agoconfigure.ac: Back to development -> 0.10.9.1
Jan Schmidt [Sun, 26 Oct 2008 20:07:51 +0000 (20:07 +0000)]
configure.ac: Back to development -> 0.10.9.1

Original commit message from CVS:
* configure.ac:
Back to development -> 0.10.9.1

15 years agoRelease 0.10.9
Jan Schmidt [Fri, 24 Oct 2008 22:45:11 +0000 (22:45 +0000)]
Release 0.10.9

Original commit message from CVS:
Release 0.10.9

15 years agoUpdate .po files
Jan Schmidt [Fri, 24 Oct 2008 21:43:17 +0000 (21:43 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

15 years agoconfigure.ac: Commit 0.10.8.4 pre-release
Jan Schmidt [Fri, 24 Oct 2008 16:41:33 +0000 (16:41 +0000)]
configure.ac: Commit 0.10.8.4 pre-release

Original commit message from CVS:
* configure.ac:
Commit 0.10.8.4 pre-release

15 years agogst/mpegdemux/gstmpegdemux.c: Fix reverse playback regression.
Edward Hervey [Mon, 20 Oct 2008 14:19:17 +0000 (14:19 +0000)]
gst/mpegdemux/gstmpegdemux.c: Fix reverse playback regression.

Original commit message from CVS:
* gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data):
Fix reverse playback regression.
Fixes #557080

15 years agoext/apexsink/gstapexplugin.c: Set apexsink's rank to NONE so it doesn't get used...
Tim-Philipp Müller [Sun, 19 Oct 2008 12:39:30 +0000 (12:39 +0000)]
ext/apexsink/gstapexplugin.c: Set apexsink's rank to NONE so it doesn't get used by autoaudiosink (there's no point r...

Original commit message from CVS:
* ext/apexsink/gstapexplugin.c: (plugin_init):
Set apexsink's rank to NONE so it doesn't get used by
autoaudiosink (there's no point really). (#556588)

15 years agoconfigure.ac: 0.10.8.3 pre-release
Jan Schmidt [Thu, 16 Oct 2008 17:12:04 +0000 (17:12 +0000)]
configure.ac: 0.10.8.3 pre-release

Original commit message from CVS:
* configure.ac:
0.10.8.3 pre-release

15 years agogst/mpegdemux/gstmpegtsdemux.*: Properly handle some resync cases in the optimised...
Zaheer Abbas Merali [Thu, 16 Oct 2008 16:37:33 +0000 (16:37 +0000)]
gst/mpegdemux/gstmpegtsdemux.*: Properly handle some resync cases in the optimised buffering strategy.

Original commit message from CVS:
Patch by: Josep Torra
* gst/mpegdemux/gstmpegtsdemux.c:
* gst/mpegdemux/gstmpegtsdemux.h:
Properly handle some resync cases in the optimised
buffering strategy.

15 years agosys/acmenc/Makefile.am: Remove incorrect use of DIRECTSOUND_LDFLAGS
Michael Smith [Thu, 16 Oct 2008 16:18:31 +0000 (16:18 +0000)]
sys/acmenc/Makefile.am: Remove incorrect use of DIRECTSOUND_LDFLAGS

Original commit message from CVS:
2008-10-16  Michael Smith <msmith@songbirdnest.com>
* sys/acmenc/Makefile.am:
Remove incorrect use of DIRECTSOUND_LDFLAGS

15 years agogst/flv/gstflvmux.c: Don't set video_codec to the value that actually should go into...
Sebastian Dröge [Thu, 16 Oct 2008 15:21:15 +0000 (15:21 +0000)]
gst/flv/gstflvmux.c: Don't set video_codec to the value that actually should go into audio codec, otherwise we create...

Original commit message from CVS:
* gst/flv/gstflvmux.c: (gst_flv_mux_audio_pad_setcaps),
(gst_flv_mux_write_buffer):
Don't set video_codec to the value that actually should go
into audio codec, otherwise we create invalid files.
Fixes bug #556564.

15 years agoDon't install static libs for plugins. Fixes #550851 for base.
Stefan Kost [Thu, 16 Oct 2008 15:06:55 +0000 (15:06 +0000)]
Don't install static libs for plugins. Fixes #550851 for base.

Original commit message from CVS:
* ext/alsa/Makefile.am:
* ext/cdparanoia/Makefile.am:
* ext/gio/Makefile.am:
* ext/gnomevfs/Makefile.am:
* ext/libvisual/Makefile.am:
* ext/ogg/Makefile.am:
* ext/pango/Makefile.am:
* ext/theora/Makefile.am:
* ext/vorbis/Makefile.am:
* gst/adder/Makefile.am:
* gst/audioconvert/Makefile.am:
* gst/audiorate/Makefile.am:
* gst/audioresample/Makefile.am:
* gst/audiotestsrc/Makefile.am:
* gst/ffmpegcolorspace/Makefile.am:
* gst/gdp/Makefile.am:
* gst/playback/Makefile.am:
* gst/subparse/Makefile.am:
* gst/tcp/Makefile.am:
* gst/typefind/Makefile.am:
* gst/videorate/Makefile.am:
* gst/videoscale/Makefile.am:
* gst/videotestsrc/Makefile.am:
* gst/volume/Makefile.am:
* sys/v4l/Makefile.am:
* sys/ximage/Makefile.am:
* sys/xvimage/Makefile.am:
Don't install static libs for plugins. Fixes #550851 for base.

15 years agotests/check/Makefile.am: Leave apexsink out of the states test.
Jan Schmidt [Thu, 16 Oct 2008 14:54:36 +0000 (14:54 +0000)]
tests/check/Makefile.am: Leave apexsink out of the states test.

Original commit message from CVS:
* tests/check/Makefile.am:
Leave apexsink out of the states test.

15 years agogst/rtpmanager/gstrtpjitterbuffer.c: Fix problem with using the output seqnum counter...
Wim Taymans [Thu, 16 Oct 2008 13:05:37 +0000 (13:05 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Fix problem with using the output seqnum counter to check for input seqnum disco...

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_jitter_buffer_sink_parse_caps),
(gst_rtp_jitter_buffer_flush_start),
(gst_rtp_jitter_buffer_flush_stop), (gst_rtp_jitter_buffer_chain),
(gst_rtp_jitter_buffer_loop):
Fix problem with using the output seqnum counter to check for input
seqnum discontinuities.
Improve gap detection and recovery, reset and flush the jitterbuffer on
seqnum restart. Fixes #556520.
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_insert):
Fix wrong G_LIKELY.

15 years agoconfigure.ac: Commit 0.10.8.2 pre-release bump, that actually went out in a tarball...
Jan Schmidt [Thu, 16 Oct 2008 11:55:19 +0000 (11:55 +0000)]
configure.ac: Commit 0.10.8.2 pre-release bump, that actually went out in a tarball on 2008-10-11

Original commit message from CVS:
* configure.ac:
Commit 0.10.8.2 pre-release bump, that actually went out in a
tarball on 2008-10-11

15 years agogst/rtpmanager/gstrtpsession.c: Install event handler on the rtcp_src pad, make LATEN...
Wim Taymans [Thu, 16 Oct 2008 09:51:28 +0000 (09:51 +0000)]
gst/rtpmanager/gstrtpsession.c: Install event handler on the rtcp_src pad, make LATENCY event return

Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_event_send_rtcp_src), (create_send_rtcp_src):
Install event handler on the rtcp_src pad, make LATENCY event return
TRUE.

15 years agogst/mpegdemux/gstmpegdemux.c: Make sure the mpegpsdemux element creates valid newsegm...
Edward Hervey [Thu, 16 Oct 2008 09:18:31 +0000 (09:18 +0000)]
gst/mpegdemux/gstmpegdemux.c: Make sure the mpegpsdemux element creates valid newsegment events.

Original commit message from CVS:
* gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data):
Make sure the mpegpsdemux element creates valid newsegment events.
Fixes #556428

15 years agogst/mpegdemux/mpegtspacketizer.c: Fixes segfault in get_encoding_and_convert.
Sebastian Pölsterl [Thu, 16 Oct 2008 08:17:59 +0000 (08:17 +0000)]
gst/mpegdemux/mpegtspacketizer.c: Fixes segfault in get_encoding_and_convert.

Original commit message from CVS:
patch by: Sebastian Pölsterl
* gst/mpegdemux/mpegtspacketizer.c:
Fixes segfault in get_encoding_and_convert.
Fixes #556482

15 years agogst/mpegdemux/gstmpegtsdemux.c: Fixes a segfault in the adaptation buffer size strategy.
Zaheer Abbas Merali [Thu, 16 Oct 2008 08:13:49 +0000 (08:13 +0000)]
gst/mpegdemux/gstmpegtsdemux.c: Fixes a segfault in the adaptation buffer size strategy.

Original commit message from CVS:
patch by: Josep Torra
* gst/mpegdemux/gstmpegtsdemux.c:
Fixes a segfault in the adaptation buffer size strategy.
Fixes #556440

15 years agogst/selector/gstinputselector.c: Gracefully handle the cases when we dont' have otherpad.
Edward Hervey [Wed, 15 Oct 2008 17:45:37 +0000 (17:45 +0000)]
gst/selector/gstinputselector.c: Gracefully handle the cases when we dont' have otherpad.

Original commit message from CVS:
* gst/selector/gstinputselector.c: (gst_input_selector_event),
(gst_input_selector_query):
Gracefully handle the cases when we dont' have otherpad.
Fixes #556430

15 years agogst/aiffparse/aiffparse.c: Fix debugging category initialization.
Edward Hervey [Tue, 14 Oct 2008 15:13:05 +0000 (15:13 +0000)]
gst/aiffparse/aiffparse.c: Fix debugging category initialization.

Original commit message from CVS:
* gst/aiffparse/aiffparse.c: (plugin_init):
Fix debugging category initialization.
Fixes #556274

15 years agoext/apexsink/gstapexsink.c: Fix some more format string compiler warnings (from OS/X)
Jan Schmidt [Tue, 14 Oct 2008 14:53:41 +0000 (14:53 +0000)]
ext/apexsink/gstapexsink.c: Fix some more format string compiler warnings (from OS/X)

Original commit message from CVS:
* ext/apexsink/gstapexsink.c:
Fix some more format string compiler warnings (from OS/X)

15 years agoupdate spec for latest plugins changes
Christian Schaller [Mon, 13 Oct 2008 12:27:06 +0000 (12:27 +0000)]
update spec for latest plugins changes

Original commit message from CVS:
update spec for latest plugins changes

15 years agoext/apexsink/gstapexraop.c: Fix format string compiler warnings.
Sebastian Dröge [Mon, 13 Oct 2008 07:35:25 +0000 (07:35 +0000)]
ext/apexsink/gstapexraop.c: Fix format string compiler warnings.

Original commit message from CVS:
* ext/apexsink/gstapexraop.c: (gst_apexraop_connect),
(gst_apexraop_set_volume):
Fix format string compiler warnings.

15 years agosys/oss4/: Add some spaces in translateable strings.
Jan Schmidt [Sun, 12 Oct 2008 21:52:27 +0000 (21:52 +0000)]
sys/oss4/: Add some spaces in translateable strings.

Original commit message from CVS:
* sys/oss4/oss4-mixer.c:
* sys/oss4/oss4-sink.c:
* sys/oss4/oss4-source.c:
Add some spaces in translateable strings.
Fixes: #555969 #555968 #555965

15 years agogst/flv/gstflvdemux.c: Fix regression of handling flow returns in pull mode.
Sebastian Dröge [Sun, 12 Oct 2008 17:08:10 +0000 (17:08 +0000)]
gst/flv/gstflvdemux.c: Fix regression of handling flow returns in pull mode.

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_pull_tag),
(gst_flv_demux_pull_header):
Fix regression of handling flow returns in pull mode.
Fixes bug #556003.

15 years agoext/Makefile.am: Add apexsink to SUBDIRS. Fixes bug #555912.
Sebastian Dröge [Sun, 12 Oct 2008 17:04:17 +0000 (17:04 +0000)]
ext/Makefile.am: Add apexsink to SUBDIRS. Fixes bug #555912.

Original commit message from CVS:
* ext/Makefile.am:
Add apexsink to SUBDIRS. Fixes bug #555912.

15 years agotests/check/pipelines/metadata.c: Make the metadata test not fail when jpegenc isn...
Jan Schmidt [Sat, 11 Oct 2008 11:02:14 +0000 (11:02 +0000)]
tests/check/pipelines/metadata.c: Make the metadata test not fail when jpegenc isn't available.... as it isn't here, ...

Original commit message from CVS:
* tests/check/pipelines/metadata.c:
Make the metadata test not fail when jpegenc isn't available....
as it isn't here, because it's not in this module, and
therefore not in the plugin path when the check runs.

15 years agogst/flv/gstflvparse.c: Use gst_pad_alloc_buffer_and_set_caps() to make sure we get...
Sebastian Dröge [Fri, 10 Oct 2008 16:33:36 +0000 (16:33 +0000)]
gst/flv/gstflvparse.c: Use gst_pad_alloc_buffer_and_set_caps() to make sure we get a buffer with caps that we can wor...

Original commit message from CVS:
* gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video):
Use gst_pad_alloc_buffer_and_set_caps() to make sure we get
a buffer with caps that we can work with (i.e. the pad's caps).
Add non-keyframe video frames to the index too but without the
keyframe flag.
Add audio frames to the index only if we have no video stream.

15 years agogst/flv/gstflvparse.c: Create pads from the pad templates, use fixed caps on them...
Sebastian Dröge [Fri, 10 Oct 2008 16:15:09 +0000 (16:15 +0000)]
gst/flv/gstflvparse.c: Create pads from the pad templates, use fixed caps on them and only activate them after the ca...

Original commit message from CVS:
* gst/flv/gstflvparse.c: (gst_flv_parse_tag_audio),
(gst_flv_parse_tag_video):
Create pads from the pad templates, use fixed caps on them
and only activate them after the caps are set.

15 years agoconfigure.ac: Disable flacparse for this release as it's too buggy.
Sebastian Dröge [Fri, 10 Oct 2008 15:51:42 +0000 (15:51 +0000)]
configure.ac: Disable flacparse for this release as it's too buggy.

Original commit message from CVS:
* configure.ac:
Disable flacparse for this release as it's too buggy.

15 years agoFix compiler warning on OS/X about parameters not matching the debug format string.
Jan Schmidt [Fri, 10 Oct 2008 11:17:09 +0000 (11:17 +0000)]
Fix compiler warning on OS/X about parameters not matching the debug format string.

Original commit message from CVS:
2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>

* gst/flacparse/gstbaseparse.c (gst_base_parse_push_buffer),
(gst_base_parse_update_upstream_durations):
Fix compiler warning on OS/X about parameters not matching
the debug format string.

15 years agoFix compiler warning on OS/X about parameters not matching the debug format string.
Jan Schmidt [Fri, 10 Oct 2008 11:01:36 +0000 (11:01 +0000)]
Fix compiler warning on OS/X about parameters not matching the debug format string.

Original commit message from CVS:
* gst/flacparse/gstbaseparse.c (gst_base_parse_push_buffer),
(gst_base_parse_update_upstream_durations):
Fix compiler warning on OS/X about parameters not matching
the debug format string.

15 years agogst/deinterlace2/tvtime/tomsmocomp.c: Fix unused variable compiler warning when not...
Sebastian Dröge [Thu, 9 Oct 2008 19:38:52 +0000 (19:38 +0000)]
gst/deinterlace2/tvtime/tomsmocomp.c: Fix unused variable compiler warning when not building

Original commit message from CVS:
* gst/deinterlace2/tvtime/tomsmocomp.c:
(gst_deinterlace_method_tomsmocomp_class_init):
Fix unused variable compiler warning when not building
X86 assembly.

15 years agofix various build files to allow for disting and update spec file with latest changes.
Christian Schaller [Thu, 9 Oct 2008 16:51:35 +0000 (16:51 +0000)]
fix various build files to allow for disting and update spec file with latest changes.

Original commit message from CVS:
fix various build files to allow for disting and update spec file with latest changes.

15 years agogst/flv/: Get an approximate duration of the file by looking at the timestamp of...
Sebastian Dröge [Thu, 9 Oct 2008 16:20:26 +0000 (16:20 +0000)]
gst/flv/: Get an approximate duration of the file by looking at the timestamp of the last tag in pull mode. If we get...

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_loop):
* gst/flv/gstflvparse.c: (gst_flv_parse_tag_timestamp):
* gst/flv/gstflvparse.h:
Get an approximate duration of the file by looking at the timestamp
of the last tag in pull mode. If we get (maybe better) duration from
metadata later we'll use that instead.

15 years agogst/flv/gstflvdemux.c: Refactor _pull_range() logic with checks into a seperate funct...
Sebastian Dröge [Thu, 9 Oct 2008 15:43:02 +0000 (15:43 +0000)]
gst/flv/gstflvdemux.c: Refactor _pull_range() logic with checks into a seperate function to make things a bit more re...

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_pull_range),
(gst_flv_demux_pull_tag), (gst_flv_demux_pull_header):
Refactor _pull_range() logic with checks into a seperate function
to make things a bit more readable.

15 years agogst/flv/gstflvdemux.c: Use gst_element_class_set_details_simple().
Sebastian Dröge [Thu, 9 Oct 2008 15:26:56 +0000 (15:26 +0000)]
gst/flv/gstflvdemux.c: Use gst_element_class_set_details_simple().

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_chain),
(gst_flv_demux_base_init):
Use gst_element_class_set_details_simple().
If we get GST_FLOW_NOT_LINKED in the parse loop but at least
one of the pads is linked continue the loop.

15 years agoext/amrwb/gstamrwbenc.*: Pass the discont flag from the input buffer on to the output...
Stefan Kost [Thu, 9 Oct 2008 10:01:37 +0000 (10:01 +0000)]
ext/amrwb/gstamrwbenc.*: Pass the discont flag from the input buffer on to the output buffer in the AMR encoder.

Original commit message from CVS:
* ext/amrwb/gstamrwbenc.c:
* ext/amrwb/gstamrwbenc.h:
Pass the discont flag from the input buffer on to the output buffer in
the AMR encoder.

15 years agogst/flv/gstflvparse.c: Correct caps for video codec id 5: It's On2 VP6 with alpha...
Sebastian Dröge [Thu, 9 Oct 2008 10:00:51 +0000 (10:00 +0000)]
gst/flv/gstflvparse.c: Correct caps for video codec id 5: It's On2 VP6 with alpha channel which needs a different dec...

Original commit message from CVS:
* gst/flv/gstflvparse.c: (gst_flv_parse_audio_negotiate),
(gst_flv_parse_tag_audio), (gst_flv_parse_video_negotiate):
Correct caps for video codec id 5: It's On2 VP6 with alpha channel
which needs a different decoder and has different caps.
Add support for audio codec id 14, which is MP3 with 8kHz sampling
rate.
Fix endianness and signedness for raw audio codec ids.
Add support for alaw and mulaw audio.

15 years agogst/flv/gstflvdemux.c: Go out of the parse loop as soon as we get an error instead...
Sebastian Dröge [Thu, 9 Oct 2008 09:48:46 +0000 (09:48 +0000)]
gst/flv/gstflvdemux.c: Go out of the parse loop as soon as we get an error instead of parsing until the GstAdapter is...

Original commit message from CVS:
* gst/flv/gstflvdemux.c: (gst_flv_demux_chain):
Go out of the parse loop as soon as we get an error instead
of parsing until the GstAdapter is empty.
Add some explanations about the header and tag size.
Don't print synchronizing message if everything is fine.

15 years agogst/flv/: Add first version of a FLV muxer. The only missing feature is writing of...
Sebastian Dröge [Thu, 9 Oct 2008 09:26:58 +0000 (09:26 +0000)]
gst/flv/: Add first version of a FLV muxer. The only missing feature is writing of stream metadata.

Original commit message from CVS:
* gst/flv/Makefile.am:
* gst/flv/gstflvdemux.c: (plugin_init):
* gst/flv/gstflvmux.c: (gst_flv_mux_base_init),
(gst_flv_mux_class_init), (gst_flv_mux_init),
(gst_flv_mux_finalize), (gst_flv_mux_reset),
(gst_flv_mux_handle_src_event), (gst_flv_mux_handle_sink_event),
(gst_flv_mux_video_pad_setcaps), (gst_flv_mux_audio_pad_setcaps),
(gst_flv_mux_request_new_pad), (gst_flv_mux_release_pad),
(gst_flv_mux_write_header), (gst_flv_mux_write_buffer),
(gst_flv_mux_collected), (gst_flv_mux_change_state):
* gst/flv/gstflvmux.h:
Add first version of a FLV muxer. The only missing feature is writing
of stream metadata.

15 years agoext/amrwb/gstamrwbparse.*: Add flush seek handler. Taken from recent armnbparse changes.
Stefan Kost [Thu, 9 Oct 2008 09:21:44 +0000 (09:21 +0000)]
ext/amrwb/gstamrwbparse.*: Add flush seek handler. Taken from recent armnbparse changes.

Original commit message from CVS:
* ext/amrwb/gstamrwbparse.c:
* ext/amrwb/gstamrwbparse.h:
Add flush seek handler. Taken from recent armnbparse changes.
Sync the code more and use #defines for HEADER.

15 years agoext/amrwb/gstamrwbparse.*: Fix the duration query. Also set caps on the pads and...
Stefan Kost [Thu, 9 Oct 2008 08:43:41 +0000 (08:43 +0000)]
ext/amrwb/gstamrwbparse.*: Fix the duration query. Also set caps on the pads and buffers more correctly. Taken from r...

Original commit message from CVS:
* ext/amrwb/gstamrwbparse.c:
* ext/amrwb/gstamrwbparse.h:
Fix the duration query. Also set caps on the pads and buffers more
correctly. Taken from recent armnbparse changes.

15 years agogst/mpegdemux/: Add Fluendo to the Long Name.
Zaheer Abbas Merali [Wed, 8 Oct 2008 16:20:26 +0000 (16:20 +0000)]
gst/mpegdemux/: Add Fluendo to the Long Name.

Original commit message from CVS:
* gst/mpegdemux/gstmpegdemux.c:
* gst/mpegdemux/gstmpegtsdemux.c:
Add Fluendo to the Long Name.

15 years agoMove of mpegtsparse to mpegdemux.
Zaheer Abbas Merali [Wed, 8 Oct 2008 15:25:24 +0000 (15:25 +0000)]
Move of mpegtsparse to mpegdemux.

Original commit message from CVS:
* configure.ac:
* gst-plugins-bad.spec.in:
* gst/mpegdemux/Makefile.am:
* gst/mpegdemux/flumpegdemux.c:
* gst/mpegdemux/gstmpegdesc.c:
* gst/mpegdemux/gstmpegdesc.h:
* gst/mpegdemux/mpegtspacketizer.c:
* gst/mpegdemux/mpegtspacketizer.h:
* gst/mpegdemux/mpegtsparse.c:
* gst/mpegdemux/mpegtsparse.h:
Move of mpegtsparse to mpegdemux.
Fixes #555193.

15 years agoMove of mpegtsparse to mpegdemux
Zaheer Abbas Merali [Wed, 8 Oct 2008 15:22:12 +0000 (15:22 +0000)]
Move of mpegtsparse to mpegdemux

Original commit message from CVS:
Move of mpegtsparse to mpegdemux

15 years agogst/mpegdemux/gstmpegdemux.c: Prevent a division by zero if last mux rate was zero.
Sebastian Dröge [Wed, 8 Oct 2008 10:21:20 +0000 (10:21 +0000)]
gst/mpegdemux/gstmpegdemux.c: Prevent a division by zero if last mux rate was zero.

Original commit message from CVS:
* gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data),
(gst_flups_demux_parse_pack_start):
Prevent a division by zero if last mux rate was zero.
If we're going to send a NEWSEGMENT event but the segment start
and the current buffer timestamp differ by more than a second we
will start the NEWSEGMENT at the buffer timestamp.
This fixes playback of the tv2-1_25.mpg file, which has 0 as first SCR
but the first PTS are around 1 hour and 40 minutes.
Fixes bug #553755.

15 years agoext/resindvd/resindvdsrc.c: Fix next/prev chapter seeking at the beginning or end.
Jan Schmidt [Tue, 7 Oct 2008 21:29:26 +0000 (21:29 +0000)]
ext/resindvd/resindvdsrc.c: Fix next/prev chapter seeking at the beginning or end.

Original commit message from CVS:
* ext/resindvd/resindvdsrc.c:
Fix next/prev chapter seeking at the beginning or end.
Use 64-bit scaling utility functions for converting MPEG
timestamps.

15 years agogst/rtpmanager/gstrtpbin-marshal.list: Add marshaller for new action signal.
Håvard Graff [Tue, 7 Oct 2008 18:54:41 +0000 (18:54 +0000)]
gst/rtpmanager/gstrtpbin-marshal.list: Add marshaller for new action signal.

Original commit message from CVS:
Patch by: Håvard Graff <havard dot graff at tandberg dot com>
* gst/rtpmanager/gstrtpbin-marshal.list:
Add marshaller for new action signal.
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_get_internal_session),
(gst_rtp_bin_class_init):
* gst/rtpmanager/gstrtpbin.h:
Add action signal to retrieve the internal RTPSession object.
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_class_init),
(gst_rtp_session_get_property), (gst_rtp_session_release_pad):
Add property to access the internal RTPSession object.
* gst/rtpmanager/rtpsession.c: (rtp_session_class_init),
(check_collision):
* gst/rtpmanager/rtpsession.h:
Add action signal to retrieve an RTPSource object by SSRC.
See #555396.

15 years agogst/selector/gstoutputselector.c: Choose right pad for sending events. Fixes #555244
Stefan Kost [Tue, 7 Oct 2008 13:14:40 +0000 (13:14 +0000)]
gst/selector/gstoutputselector.c: Choose right pad for sending events. Fixes #555244

Original commit message from CVS:
* gst/selector/gstoutputselector.c:
Choose right pad for sending events. Fixes #555244

15 years agogst/rtpmanager/gstrtpbin.c: Release pads of the session manager.
Wim Taymans [Tue, 7 Oct 2008 11:33:10 +0000 (11:33 +0000)]
gst/rtpmanager/gstrtpbin.c: Release pads of the session manager.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (find_session_by_pad),
(free_session), (gst_rtp_bin_dispose), (remove_recv_rtp),
(remove_recv_rtcp), (remove_send_rtp), (remove_rtcp),
(gst_rtp_bin_release_pad):
Release pads of the session manager.
Start implementing releasing pads of gstrtpbin.
* gst/rtpmanager/gstrtpsession.c: (remove_recv_rtp_sink),
(remove_recv_rtcp_sink), (remove_send_rtp_sink),
(remove_send_rtcp_src), (gst_rtp_session_release_pad):
Implement releasing pads in gstrtpsession.

15 years agogst/rtpmanager/gstrtpjitterbuffer.c: Only update the seqnum-base when it was not...
Wim Taymans [Tue, 7 Oct 2008 10:02:20 +0000 (10:02 +0000)]
gst/rtpmanager/gstrtpjitterbuffer.c: Only update the seqnum-base when it was not already configured for the streams.

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_jitter_buffer_sink_parse_caps):
Only update the seqnum-base when it was not already configured for the
streams.

15 years agoconfigure.ac
Stefan Kost [Mon, 6 Oct 2008 16:01:49 +0000 (16:01 +0000)]
configure.ac

Original commit message from CVS:
* configure.ac
* ext/metadata/README:
* ext/metadata/metadataexif.c:
* ext/metadata/metadatatags.c:
* ext/metadata/metadatatags.h:
Start using core geo tags (bump req). Fix handling of location
references.
* tests/check/Makefile.am:
Sort blacklisted elements and remove moved ones. Add new test.
* tests/check/pipelines/metadata.c:
Add first tests for metadata element.
* tests/icles/metadata_editor.c:
Move free to correct place.

15 years agotests/check/generic/states.c: Stop test on state-change error. Should be applied...
Stefan Kost [Mon, 6 Oct 2008 15:53:01 +0000 (15:53 +0000)]
tests/check/generic/states.c: Stop test on state-change error. Should be applied on other modules if we agree that it...

Original commit message from CVS:
* tests/check/generic/states.c:
Stop test on state-change error. Should be applied on other modules if
we agree that it makes sense.

15 years agogst/mpegtsparse/mpegtsparse.c: Actually copy the structure passed in when assigning...
Zaheer Abbas Merali [Mon, 6 Oct 2008 12:01:14 +0000 (12:01 +0000)]
gst/mpegtsparse/mpegtsparse.c: Actually copy the structure passed in when assigning it because it gets freed straight...

Original commit message from CVS:
* gst/mpegtsparse/mpegtsparse.c:
Actually copy the structure passed in when assigning it because
it gets freed straight after the function call.
Re: pat_info and pmt_info GstStructures.

15 years agogst/mpegdemux/gstmpegtsdemux.c: Fix wrong firing of critical introduced by previous...
Zaheer Abbas Merali [Mon, 6 Oct 2008 08:32:41 +0000 (08:32 +0000)]
gst/mpegdemux/gstmpegtsdemux.c: Fix wrong firing of critical introduced by previous optimisation.

Original commit message from CVS:
Patch by: Josep Torra
* gst/mpegdemux/gstmpegtsdemux.c:
Fix wrong firing of critical introduced by previous optimisation.

15 years agoext/faac/gstfaac.c: Warn and clamp to max bitrate for samplerate.
Wim Taymans [Fri, 3 Oct 2008 17:11:12 +0000 (17:11 +0000)]
ext/faac/gstfaac.c: Warn and clamp to max bitrate for samplerate.

Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_configure_source_pad):
Warn and clamp to max bitrate for samplerate.
Fixes #550486.

15 years agogst/mpegtsparse/mpegtsparse.c: Fix possible crash where pat is pointing to a freed...
Zaheer Abbas Merali [Fri, 3 Oct 2008 09:11:16 +0000 (09:11 +0000)]
gst/mpegtsparse/mpegtsparse.c: Fix possible crash where pat is pointing to a freed structure.

Original commit message from CVS:
* gst/mpegtsparse/mpegtsparse.c:
Fix possible crash where pat is pointing to a freed structure.

15 years agoext/metadata/: Add mapping of format and mime type to xmp.
Stefan Kost [Fri, 3 Oct 2008 05:57:58 +0000 (05:57 +0000)]
ext/metadata/: Add mapping of format and mime type to xmp.

Original commit message from CVS:
* ext/metadata/metadata_mapping.htm:
* ext/metadata/metadataxmp.c:
* ext/metadata/Makefile.am:
Add mapping of format and mime type to xmp.

15 years agoext/metadata/: Reverting. Will need to wait for core 0.10.21 release.
Stefan Kost [Thu, 2 Oct 2008 14:42:25 +0000 (14:42 +0000)]
ext/metadata/: Reverting. Will need to wait for core 0.10.21 release.

Original commit message from CVS:
* ext/metadata/README:
* ext/metadata/metadataexif.c:
* ext/metadata/metadatatags.c:
* ext/metadata/metadatatags.h:
Reverting. Will need to wait for core 0.10.21 release.

15 years agoext/metadata/: Use core gsp tags.
Stefan Kost [Thu, 2 Oct 2008 13:52:50 +0000 (13:52 +0000)]
ext/metadata/: Use core gsp tags.

Original commit message from CVS:
* ext/metadata/README:
* ext/metadata/metadataexif.c:
* ext/metadata/metadatatags.c:
* ext/metadata/metadatatags.h:
Use core gsp tags.

15 years agogst/flacparse/gstbaseparse.c: Add support for GstIndex.
Sebastian Dröge [Tue, 30 Sep 2008 17:03:14 +0000 (17:03 +0000)]
gst/flacparse/gstbaseparse.c: Add support for GstIndex.

Original commit message from CVS:
* gst/flacparse/gstbaseparse.c: (gst_base_parse_finalize),
(gst_base_parse_class_init), (gst_base_parse_push_buffer),
(gst_base_parse_change_state), (gst_base_parse_set_index),
(gst_base_parse_get_index):
Add support for GstIndex.

15 years agogst/flacparse/gstbaseparse.*: Provide a vfunc for the subclass to decide whether...
Sebastian Dröge [Tue, 30 Sep 2008 16:41:15 +0000 (16:41 +0000)]
gst/flacparse/gstbaseparse.*: Provide a vfunc for the subclass to decide whether a frame is inside the segment or not...

Original commit message from CVS:
* gst/flacparse/gstbaseparse.c: (gst_base_parse_class_init),
(gst_base_parse_push_buffer),
(gst_base_parse_update_upstream_durations),
(gst_base_parse_convert), (gst_base_parse_frame_in_segment):
* gst/flacparse/gstbaseparse.h:
Provide a vfunc for the subclass to decide whether a frame is inside
the segment or not and add a default implementation.
Fix approximate bitrate calculations.

15 years agogst/flacparse/gstbaseparse.c: Approximate the average bitrate, duration and size...
Sebastian Dröge [Tue, 30 Sep 2008 16:22:04 +0000 (16:22 +0000)]
gst/flacparse/gstbaseparse.c: Approximate the average bitrate, duration and size if possible and add a default conver...

Original commit message from CVS:
* gst/flacparse/gstbaseparse.c: (gst_base_parse_class_init),
(gst_base_parse_init), (gst_base_parse_push_buffer),
(gst_base_parse_update_upstream_durations), (gst_base_parse_chain),
(gst_base_parse_loop), (gst_base_parse_activate),
(gst_base_parse_convert), (gst_base_parse_query):
Approximate the average bitrate, duration and size if possible
and add a default conversion function which uses this for
time<->byte conversions.
* gst/flacparse/gstflacparse.c: (gst_flac_parse_get_frame_size):
Fix parsing if upstream gives -1 as duration.

15 years agogst/rtpmanager/rtpsession.c: Ref the rtpsource object before we release the session...
Wim Taymans [Tue, 30 Sep 2008 15:08:52 +0000 (15:08 +0000)]
gst/rtpmanager/rtpsession.c: Ref the rtpsource object before we release the session lock when we emit the signals.

Original commit message from CVS:
* gst/rtpmanager/rtpsession.c: (on_new_ssrc), (on_ssrc_collision),
(on_ssrc_validated), (on_ssrc_active), (on_ssrc_sdes),
(on_bye_ssrc), (on_bye_timeout), (on_timeout), (on_sender_timeout):
Ref the rtpsource object before we release the session lock when we emit
the signals.

15 years agosys/: New plugin for audio capture and playback using Windows Audio Session
Ole André Vadla Ravnås [Tue, 30 Sep 2008 11:19:10 +0000 (11:19 +0000)]
sys/: New plugin for audio capture and playback using Windows Audio Session

Original commit message from CVS:
* sys/Makefile.am:
* sys/wasapi/Makefile.am:
* sys/wasapi/gstwasapi.c:
* sys/wasapi/gstwasapisink.c:
* sys/wasapi/gstwasapisink.h:
* sys/wasapi/gstwasapisrc.c:
* sys/wasapi/gstwasapisrc.h:
* sys/wasapi/gstwasapiutil.c:
* sys/wasapi/gstwasapiutil.h:
New plugin for audio capture and playback using Windows Audio Session
API (WASAPI) available with Vista and newer (#520901).
Comes with hardcoded caps and obviously needs lots of love. Haven't
had time to work on this code since it was written, was initially just
a quick experiment to play around with this new API.

15 years agosys/dshowdecwrapper/gstdshowaudiodec.cpp
Ole André Vadla Ravnås [Tue, 30 Sep 2008 10:43:54 +0000 (10:43 +0000)]
sys/dshowdecwrapper/gstdshowaudiodec.cpp

Original commit message from CVS:
* sys/dshowdecwrapper/gstdshowaudiodec.cpp
(AudioFakeSink.DoRenderSample):
Fix a couple of signed/unsigned comparison warnings.

15 years agosys/dshowdecwrapper/: Use the _T() macro to support both Unicode and MBCS.
Ole André Vadla Ravnås [Tue, 30 Sep 2008 10:22:10 +0000 (10:22 +0000)]
sys/dshowdecwrapper/: Use the _T() macro to support both Unicode and MBCS.

Original commit message from CVS:
* sys/dshowdecwrapper/gstdshowaudiodec.h (AudioFakeSink.AudioFakeSink):
* sys/dshowdecwrapper/gstdshowvideodec.h (VideoFakeSink.VideoFakeSink):
Use the _T() macro to support both Unicode and MBCS.

15 years agoext/libmms/gstmms.c (plugin_init): Fix return type of the GstURIHandler::get_type...
Ole André Vadla Ravnås [Tue, 30 Sep 2008 10:17:41 +0000 (10:17 +0000)]
ext/libmms/gstmms.c (plugin_init): Fix return type of the GstURIHandler::get_type() implementation.

Original commit message from CVS:
* ext/libmms/gstmms.c (plugin_init):
Fix return type of the GstURIHandler::get_type() implementation.

15 years agoAdd FLAC parser, based on GstBaseParse. Also add the bit and byte reader that will...
Sebastian Dröge [Mon, 29 Sep 2008 08:26:54 +0000 (08:26 +0000)]
Add FLAC parser, based on GstBaseParse. Also add the bit and byte reader that will be added to libgstbase later.

Original commit message from CVS:
* configure.ac:
* gst/flacparse/Makefile.am:
* gst/flacparse/gstbaseparse.c: (gst_base_parse_get_type),
(gst_base_parse_base_init), (gst_base_parse_base_finalize),
(gst_base_parse_finalize), (gst_base_parse_class_init),
(gst_base_parse_init), (gst_base_parse_check_frame),
(gst_base_parse_parse_frame), (gst_base_parse_bytepos_to_time),
(gst_base_parse_sink_event), (gst_base_parse_sink_eventfunc),
(gst_base_parse_src_event), (gst_base_parse_src_eventfunc),
(gst_base_parse_is_seekable), (gst_base_parse_push_buffer),
(gst_base_parse_handle_and_push_buffer), (gst_base_parse_drain),
(gst_base_parse_chain), (gst_base_parse_pull_range),
(gst_base_parse_loop), (gst_base_parse_sink_activate),
(gst_base_parse_activate), (gst_base_parse_sink_activate_push),
(gst_base_parse_sink_activate_pull), (gst_base_parse_set_duration),
(gst_base_parse_set_min_frame_size),
(gst_base_parse_get_querytypes), (gst_base_parse_query),
(gst_base_parse_handle_seek), (gst_base_parse_sink_setcaps):
* gst/flacparse/gstbaseparse.h:
* gst/flacparse/gstbitreader.c: (gst_bit_reader_new),
(gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
(gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
(gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
(gst_bit_reader_get_remaining), (gst_bit_reader_skip),
(gst_bit_reader_skip_to_byte):
* gst/flacparse/gstbitreader.h:
* gst/flacparse/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
(GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
(gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
(gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
(gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
(gst_byte_reader_get_remaining), (gst_byte_reader_skip),
(gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
(gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
(gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
(gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
(gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
(gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
* gst/flacparse/gstbytereader.h:
* gst/flacparse/gstflac.c: (plugin_init):
* gst/flacparse/gstflacparse.c: (gst_flac_parse_base_init),
(gst_flac_parse_class_init), (gst_flac_parse_init),
(gst_flac_parse_finalize), (gst_flac_parse_start),
(gst_flac_parse_stop), (gst_flac_parse_get_frame_size),
(gst_flac_parse_check_valid_frame),
(gst_flac_parse_handle_streaminfo),
(gst_flac_parse_handle_vorbiscomment),
(gst_flac_parse_handle_picture), (_value_array_append_buffer),
(gst_flac_parse_handle_headers), (gst_flac_parse_generate_headers),
(gst_flac_parse_parse_frame):
* gst/flacparse/gstflacparse.h:
Add FLAC parser, based on GstBaseParse. Also add the bit and byte reader
that will be added to libgstbase later.
The FLAC parser is currently not 100% bug free and fails to get the
correct frame size for some frames in some streams.

15 years agoext/resindvd/: Add in Title/Chapter seeking, and simple but buggy audio and subtitle...
Jan Schmidt [Sat, 27 Sep 2008 01:12:30 +0000 (01:12 +0000)]
ext/resindvd/: Add in Title/Chapter seeking, and simple but buggy audio and subtitle stream selection.

Original commit message from CVS:
* ext/resindvd/gstmpegdemux.c:
* ext/resindvd/gstmpegdemux.h:
* ext/resindvd/resindvdbin.c:
* ext/resindvd/resindvdsrc.c:
* ext/resindvd/rsnstreamselector.c:
Add in Title/Chapter seeking, and simple but buggy audio
and subtitle stream selection.

15 years agosys/dshowdecwrapper/: Prefer known-good filters, create directly by GUID if possible...
Michael Smith [Wed, 24 Sep 2008 17:21:41 +0000 (17:21 +0000)]
sys/dshowdecwrapper/: Prefer known-good filters, create directly by GUID if possible, fall back to creating highest-m...

Original commit message from CVS:
* sys/dshowdecwrapper/gstdshowaudiodec.cpp:
* sys/dshowdecwrapper/gstdshowaudiodec.h:
* sys/dshowdecwrapper/gstdshowfakesrc.cpp:
* sys/dshowdecwrapper/gstdshowutil.cpp:
* sys/dshowdecwrapper/gstdshowutil.h:
* sys/dshowdecwrapper/gstdshowvideodec.cpp:
* sys/dshowdecwrapper/gstdshowvideodec.h:
Prefer known-good filters, create directly by GUID if possible,
fall back to creating highest-merit filter otherwise.
Fixes playback with random dshow filters installed in some
cases.

15 years agogst/rtpmanager/: Fix some docs.
Wim Taymans [Tue, 23 Sep 2008 18:13:31 +0000 (18:13 +0000)]
gst/rtpmanager/: Fix some docs.

Original commit message from CVS:
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_insert),
(rtp_jitter_buffer_get_sync):
* gst/rtpmanager/rtpsession.c: (on_sender_timeout),
(session_cleanup):
* gst/rtpmanager/rtpsource.c:
Fix some docs.

15 years agoPatch from: Josep Torra
Zaheer Abbas Merali [Tue, 23 Sep 2008 17:34:44 +0000 (17:34 +0000)]
Patch from: Josep Torra

Original commit message from CVS:
Patch from: Josep Torra
* gst/mpegdemux/gstmpegtsdemux.c:
* gst/mpegdemux/gstmpegtsdemux.h:
Use a preallocated buffer per stream for PES packets sent on src pads.
Adaptively adjust buffer size appropriately.

15 years agoext/neon/gstneonhttpsrc.c: Clean up the debug logging code and #ifdef mess a bit...
Tim-Philipp Müller [Wed, 17 Sep 2008 14:47:12 +0000 (14:47 +0000)]
ext/neon/gstneonhttpsrc.c: Clean up the debug logging code and #ifdef mess a bit: whether or not gstreamer debug mess...

Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_start),
(gst_neonhttp_src_send_request_and_redirect):
Clean up the debug logging code and #ifdef mess a bit: whether or not
gstreamer debug messages should be output should not depend on an
element property; also, GST_ELEMENT_ERROR will leave a line in the log
already, so merge the more useful debug log messages with the less useful
error debug strings.

15 years agoext/neon/gstneonhttpsrc.c: Don't post LIBRARY_INIT errors where we should be posting
Tim-Philipp Müller [Wed, 17 Sep 2008 14:22:38 +0000 (14:22 +0000)]
ext/neon/gstneonhttpsrc.c: Don't post LIBRARY_INIT errors where we should be posting

Original commit message from CVS:
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_start):
Don't post LIBRARY_INIT errors where we should be posting
RESOURCE OPEN_READ errors. Fixes #552506.

15 years agoFix compiler warnings on OS/X
Jan Schmidt [Wed, 17 Sep 2008 13:59:21 +0000 (13:59 +0000)]
Fix compiler warnings on OS/X

Original commit message from CVS:
* ext/jack/gstjackaudiosink.c: (jack_process_cb):
* gst/rtpmanager/rtpjitterbuffer.c: (calculate_skew):
Fix compiler warnings on OS/X

15 years agosys/dvb/gstdvbsrc.c: Add adapter_name for bus message in ATSC case. Fixes #552536.
Michael Krufky [Wed, 17 Sep 2008 09:06:57 +0000 (09:06 +0000)]
sys/dvb/gstdvbsrc.c: Add adapter_name for bus message in ATSC case. Fixes #552536.

Original commit message from CVS:
patch by: Michael Krufky
* sys/dvb/gstdvbsrc.c:
Add adapter_name for bus message in ATSC case. Fixes #552536.

15 years agoext/celt/gstceltenc.h: Help gtk-doc to parse this correctly.
Stefan Kost [Mon, 15 Sep 2008 09:39:00 +0000 (09:39 +0000)]
ext/celt/gstceltenc.h: Help gtk-doc to parse this correctly.

Original commit message from CVS:
* ext/celt/gstceltenc.h:
Help gtk-doc to parse this correctly.
* gst/pcapparse/gstpcapparse.c:
Add missing include.

15 years agoexamples/Makefile.am: Only built scaletempo example if we have gtk.
Stefan Kost [Mon, 15 Sep 2008 09:34:14 +0000 (09:34 +0000)]
examples/Makefile.am: Only built scaletempo example if we have gtk.

Original commit message from CVS:
* examples/Makefile.am:
Only built scaletempo example if we have gtk.

15 years agogst/rtpmanager/gstrtpbin.c: Do not try to adjust the offset of streams for which...
Wim Taymans [Sat, 13 Sep 2008 01:37:50 +0000 (01:37 +0000)]
gst/rtpmanager/gstrtpbin.c: Do not try to adjust the offset of streams for which we have not yet seen an SR packet. A...

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (create_session),
(gst_rtp_bin_associate), (gst_rtp_bin_sync_chain):
Do not try to adjust the offset of streams for which we have not yet
seen an SR packet. Avoids large ts-offsets in some cases.

15 years agosys/dshowdecwrapper/: Major rewrite of dshowdecwrapper. Converts code to
Michael Smith [Wed, 10 Sep 2008 23:15:11 +0000 (23:15 +0000)]
sys/dshowdecwrapper/: Major rewrite of dshowdecwrapper. Converts code to

Original commit message from CVS:
* sys/dshowdecwrapper/Makefile.am:
* sys/dshowdecwrapper/gstdshowaudiodec.c:
* sys/dshowdecwrapper/gstdshowaudiodec.cpp:
* sys/dshowdecwrapper/gstdshowaudiodec.h:
* sys/dshowdecwrapper/gstdshowdecwrapper.c:
* sys/dshowdecwrapper/gstdshowdecwrapper.cpp:
* sys/dshowdecwrapper/gstdshowdecwrapper.h:
* sys/dshowdecwrapper/gstdshowfakesrc.cpp:
* sys/dshowdecwrapper/gstdshowfakesrc.h:
* sys/dshowdecwrapper/gstdshowutil.cpp:
* sys/dshowdecwrapper/gstdshowutil.h:
* sys/dshowdecwrapper/gstdshowvideodec.c:
* sys/dshowdecwrapper/gstdshowvideodec.cpp:
* sys/dshowdecwrapper/gstdshowvideodec.h:
Major rewrite of dshowdecwrapper. Converts code to
C++, moves to direct use of DirectShow base classes,
make a lot of code clearer, simplify, etc.
Fix decode of MP3 on Vista by working around an apparent
bug in the decoder.

15 years agosys/winks/gstksclock.c (gst_ks_clock_worker_thread_func, gst_ks_clock_start):
Ole André Vadla Ravnås [Wed, 10 Sep 2008 12:05:39 +0000 (12:05 +0000)]
sys/winks/gstksclock.c (gst_ks_clock_worker_thread_func, gst_ks_clock_start):

Original commit message from CVS:
* sys/winks/gstksclock.c (gst_ks_clock_worker_thread_func,
gst_ks_clock_start):
Synchronize KS clock as a single-shot operation for now, there's not
much point in doing it periodically until we're actually using the
KS timestamps for anything else than just discarding old frames.
* sys/winks/gstksvideosrc.c (gst_ks_video_src_open_device):
Provide the GstClock when opening the device if we already have one.

15 years agosys/winks/gstksvideodevice.c (GST_DEBUG_IS_ENABLED, last_timestamp, gst_ks_video_devi...
Ole André Vadla Ravnås [Tue, 9 Sep 2008 23:58:02 +0000 (23:58 +0000)]
sys/winks/gstksvideodevice.c (GST_DEBUG_IS_ENABLED, last_timestamp, gst_ks_video_device_prepare_buffers, gst_ks_video...

Original commit message from CVS:
* sys/winks/gstksvideodevice.c (GST_DEBUG_IS_ENABLED, last_timestamp,
gst_ks_video_device_prepare_buffers, gst_ks_video_device_create_pin,
gst_ks_video_device_set_state, gst_ks_video_device_request_frame,
gst_ks_video_device_read_frame):
Guard against capturing old frames by keeping track of the last
timestamp and also zero-fill the buffers before each capture.
Only assign a master clock if the pin hasn't already got one.
Actually free buffers on the way down to avoid a huge memory leak,
as this was previously done when changing state to ACQUIRE downwards
and we now skip that state on the way down.
Add some debug.
* sys/winks/gstksvideosrc.c (DEFAULT_DEVICE_PATH, DEFAULT_DEVICE_NAME,
DEFAULT_DEVICE_INDEX, KS_WORKER_LOCK, KS_WORKER_UNLOCK,
KS_WORKER_WAIT, KS_WORKER_NOTIFY, KS_WORKER_WAIT_FOR_RESULT,
KS_WORKER_NOTIFY_RESULT, KS_WORKER_STATE_STARTING,
KS_WORKER_STATE_READY, KS_WORKER_STATE_STOPPING,
KS_WORKER_STATE_ERROR, KsWorkerState, device_path, device_name,
device_index, running, worker_thread, worker_lock,
worker_notify_cond, worker_result_cond, worker_state,
worker_pending_caps, worker_setcaps_result, worker_pending_run,
worker_run_result, gst_ks_video_src_reset,
gst_ks_video_src_apply_driver_quirks, gst_ks_video_src_open_device,
gst_ks_video_src_close_device, gst_ks_video_src_worker_func,
gst_ks_video_src_start_worker, gst_ks_video_src_stop_worker,
gst_ks_video_src_change_state, gst_ks_video_src_set_clock,
gst_ks_video_src_set_caps, gst_ks_video_src_timestamp_buffer,
gst_ks_video_src_create):
Remove ENABLE_CLOCK_DEBUG define, it's GST_LEVEL_DEBUG after all.
Get rid of PROP_ENSLAVE_KSCLOCK and always slave the ks clock to the
GStreamer clock, it doesn't seem to hurt and matches DirectShow's
behavior. As an added bonus we usually get PresentationTime set for
each frame, so we can expand on this later for smarter latency
reporting (by looking at the diff between the timestamp from the
driver and the time according to the GStreamer clock).
Use an internal worker thread for opening the device, setting caps,
changing its state and closing it. This way we're a lot more
compatible with drivers that rely on hacks to do video-effects
between the low-level NT API and the application. Ick.
Start the ks clock and set the pin to KSSTATE_RUN on the first
create() so that we'll hopefully get hold of the GStreamer clock
from the very beginning. This way there's no chance that the
timestamps will make a sudden jump in the beginning of the stream
when we're running with a clock.
* sys/winks/kshelpers.c (CHECK_OPTIONS_FLAG,
ks_options_flags_to_string):
Reorder the flags to match the headerfile order, and make the string
a bit more compact.
* sys/winks/ksvideohelpers.c (ks_video_probe_filter_for_caps):
Avoid leaking KSPROPERTY_PIN_DATARANGES.

15 years agoAdd jp2k plugin. Fixes #550657.
Mark Nauwelaerts [Tue, 9 Sep 2008 17:56:10 +0000 (17:56 +0000)]
Add jp2k plugin.  Fixes #550657.

Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/jp2k/Makefile.am:
* ext/jp2k/gstjasperdec.c: (gst_jasper_dec_base_init),
(gst_jasper_dec_class_init), (gst_jasper_dec_init),
(gst_jasper_dec_reset), (gst_jasper_dec_sink_setcaps),
(gst_jasper_dec_negotiate), (gst_jasper_dec_get_picture),
(gst_jasper_dec_chain), (gst_jasper_dec_set_property),
(gst_jasper_dec_get_property), (gst_jasper_dec_change_state),
(plugin_init):
* ext/jp2k/gstjasperdec.h:
Add jp2k plugin.  Fixes #550657.

15 years agogst/mpegdemux/: Fix conflicting public names in new mpeg demuxers.
Edward Hervey [Tue, 9 Sep 2008 11:47:42 +0000 (11:47 +0000)]
gst/mpegdemux/: Fix conflicting public names in new mpeg demuxers.

Original commit message from CVS:
* gst/mpegdemux/flumpegdemux.c: (plugin_init):
* gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_sync_get_type),
(gst_flups_demux_get_type), (gst_flups_demux_plugin_init):
* gst/mpegdemux/gstmpegtsdemux.c: (gst_fluts_demux_get_type),
(gst_fluts_demux_plugin_init):
Fix conflicting public names in new mpeg demuxers.
Fixes #550468

15 years agogst/aiffparse/aiffparse.c: Support chunks in AIFF in any order in pull mode, and...
Michael Smith [Tue, 9 Sep 2008 01:14:10 +0000 (01:14 +0000)]
gst/aiffparse/aiffparse.c: Support chunks in AIFF in any order in pull mode, and any order so long as we get COMM bef...

Original commit message from CVS:
* gst/aiffparse/aiffparse.c:
Support chunks in AIFF in any order in pull mode, and any order so
long as we get COMM before the actual data (SSND) in push mode.
Fixes playback of AIFC files.

15 years agogst/selector/gstinputselector.c: Reset the selector state when going to READY.
Wim Taymans [Mon, 8 Sep 2008 20:27:23 +0000 (20:27 +0000)]
gst/selector/gstinputselector.c: Reset the selector state when going to READY.

Original commit message from CVS:
* gst/selector/gstinputselector.c: (gst_selector_pad_reset),
(gst_input_selector_reset), (gst_input_selector_change_state):
Reset the selector state when going to READY.

15 years agogst/rtpmanager/gstrtpbin.*: Add signal to notify listeners when a sender becomes...
Wim Taymans [Fri, 5 Sep 2008 13:52:34 +0000 (13:52 +0000)]
gst/rtpmanager/gstrtpbin.*: Add signal to notify listeners when a sender becomes a receiver.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (on_sender_timeout),
(create_session), (gst_rtp_bin_associate),
(gst_rtp_bin_sync_chain), (gst_rtp_bin_class_init),
(gst_rtp_bin_request_new_pad):
* gst/rtpmanager/gstrtpbin.h:
Add signal to notify listeners when a sender becomes a receiver.
Tweak lip-sync code, don't store our own copy of the ts-offset of the
jitterbuffer, don't adjust sync if the change is less than 4msec.
Get the RTP timestamp <-> GStreamer timestamp relation directly from
the jitterbuffer instead of our inaccurate version from the source.
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_chain), (gst_rtp_jitter_buffer_loop),
(gst_rtp_jitter_buffer_get_sync):
* gst/rtpmanager/gstrtpjitterbuffer.h:
Add G_LIKELY macros, use global defines for max packet reorder and
dropouts.
Reset the jitterbuffer clock skew detection when packets seqnums are
changed unexpectedly.
* gst/rtpmanager/gstrtpsession.c: (on_sender_timeout),
(gst_rtp_session_class_init), (gst_rtp_session_init):
* gst/rtpmanager/gstrtpsession.h:
Add sender timeout signal.
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_reset_skew),
(calculate_skew), (rtp_jitter_buffer_insert),
(rtp_jitter_buffer_get_sync):
* gst/rtpmanager/rtpjitterbuffer.h:
Add some G_LIKELY macros.
Keep track of the extended RTP timestamp so that we can report the RTP
timestamp <-> GStreamer timestamp relation for lip-sync.
Remove server timestamp gap detection code, the server can sometimes
make a huge gap in timestamps (talk spurts,...) see #549774.
Detect timetamp weirdness instead by observing the sender/receiver
timestamp relation and resync if it changes more than 1 second.
Add method to report about the current rtp <-> gst timestamp relation
which is needed for lip-sync.
* gst/rtpmanager/rtpsession.c: (rtp_session_class_init),
(on_sender_timeout), (check_collision), (rtp_session_process_sr),
(session_cleanup):
* gst/rtpmanager/rtpsession.h:
Add sender timeout signal.
Remove inaccurate rtp <-> gst timestamp relation code, the
jitterbuffer can now do an accurate reporting about this.
* gst/rtpmanager/rtpsource.c: (rtp_source_init),
(rtp_source_update_caps), (calculate_jitter),
(rtp_source_process_rtp):
* gst/rtpmanager/rtpsource.h:
Remove inaccurate rtp <-> gst timestamp relation code.
* gst/rtpmanager/rtpstats.h:
Define global max-reorder and max-dropout constants for use in various
subsystems.

15 years agosys/dvb/gstdvbsrc.c: Add DVB Adapter name to structure sent over bus.
Sebastian Pölsterl [Fri, 5 Sep 2008 11:07:32 +0000 (11:07 +0000)]
sys/dvb/gstdvbsrc.c: Add DVB Adapter name to structure sent over bus.

Original commit message from CVS:
patch by: Sebastian Pölsterl
* sys/dvb/gstdvbsrc.c:
Add DVB Adapter name to structure sent over bus.

15 years agoadd mpeg demuxer
Christian Schaller [Wed, 3 Sep 2008 14:02:29 +0000 (14:02 +0000)]
add mpeg demuxer

Original commit message from CVS:
add mpeg demuxer

15 years agogst/mpegdemux/: Fix build on macosx.
Edward Hervey [Tue, 2 Sep 2008 17:43:42 +0000 (17:43 +0000)]
gst/mpegdemux/: Fix build on macosx.

Original commit message from CVS:
* gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_parse_pack_start):
* gst/mpegdemux/gstmpegtsdemux.c: (gst_fluts_demux_data_cb):
Fix build on macosx.

15 years agoAdd Fluendo MPEG PS and TS demuxers to gst-plugins-bad. This is now dual licensed...
Zaheer Abbas Merali [Tue, 2 Sep 2008 12:04:32 +0000 (12:04 +0000)]
Add Fluendo MPEG PS and TS demuxers to gst-plugins-bad. This is now dual licensed MPL and LGPL.

Original commit message from CVS:
* configure.ac:
* gst/mpegdemux/Makefile.am:
* gst/mpegdemux/flumpegdemux.c:
* gst/mpegdemux/flutspatinfo.c:
* gst/mpegdemux/flutspatinfo.h:
* gst/mpegdemux/flutspmtinfo.c:
* gst/mpegdemux/flutspmtinfo.h:
* gst/mpegdemux/flutspmtstreaminfo.c:
* gst/mpegdemux/flutspmtstreaminfo.h:
* gst/mpegdemux/gstmpegdefs.h:
* gst/mpegdemux/gstmpegdemux.c:
* gst/mpegdemux/gstmpegdemux.h:
* gst/mpegdemux/gstmpegdesc.c:
* gst/mpegdemux/gstmpegdesc.h:
* gst/mpegdemux/gstmpegtsdemux.c:
* gst/mpegdemux/gstmpegtsdemux.h:
* gst/mpegdemux/gstpesfilter.c:
* gst/mpegdemux/gstpesfilter.h:
* gst/mpegdemux/gstsectionfilter.c:
* gst/mpegdemux/gstsectionfilter.h:
Add Fluendo MPEG PS and TS demuxers to gst-plugins-bad. This
is now dual licensed MPL and LGPL.

15 years agogst/mpegtsmux/mpegtsmux.c: Set caps on outgoing buffers.
Wim Taymans [Tue, 2 Sep 2008 11:23:02 +0000 (11:23 +0000)]
gst/mpegtsmux/mpegtsmux.c: Set caps on outgoing buffers.

Original commit message from CVS:
* gst/mpegtsmux/mpegtsmux.c: (new_packet_cb):
Set caps on outgoing buffers.

15 years agoEnable/fix up translations for these plugins.
Tim-Philipp Müller [Tue, 2 Sep 2008 09:56:44 +0000 (09:56 +0000)]
Enable/fix up translations for these plugins.

Original commit message from CVS:
* ext/resindvd/plugin.c: (plugin_init):
* ext/resindvd/resindvdsrc.c:
* ext/twolame/gsttwolame.c: (plugin_init):
* gst/aiffparse/aiffparse.c: (plugin_init):
Enable/fix up translations for these plugins.
* po/LINGUAS:
Add 'ca' to LINGUAS.
* po/POTFILES.in:
* po/POTFILES.skip:
Add more files for translation and more files which tools
should skip.