platform/upstream/gstreamer.git
16 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

16 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.

16 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.

16 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.

16 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

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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

16 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.

16 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.

16 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.

16 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.

16 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

16 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.

16 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.

16 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.

16 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.

16 years agogst/mpegtsmux/tsmux/tsmux.c: Fix build on macosx.
Edward Hervey [Tue, 2 Sep 2008 09:46:04 +0000 (09:46 +0000)]
gst/mpegtsmux/tsmux/tsmux.c: Fix build on macosx.

Original commit message from CVS:
* gst/mpegtsmux/tsmux/tsmux.c: (tsmux_write_ts_header):
Fix build on macosx.

16 years agoupdate spec file and add missing subdirs in Makefile.am
Christian Schaller [Mon, 1 Sep 2008 17:54:00 +0000 (17:54 +0000)]
update spec file and add missing subdirs in Makefile.am

Original commit message from CVS:
update spec file and add missing subdirs in Makefile.am

16 years agogst/mpegtsmux/mpegtsmux_aac.c: Allocate a fixed size buffer on the stack instead...
Sebastian Dröge [Mon, 1 Sep 2008 17:49:59 +0000 (17:49 +0000)]
gst/mpegtsmux/mpegtsmux_aac.c: Allocate a fixed size buffer on the stack instead of using malloc().

Original commit message from CVS:
* gst/mpegtsmux/mpegtsmux_aac.c: (mpegtsmux_prepare_aac):
Allocate a fixed size buffer on the stack instead of using malloc().
* gst/mpegtsmux/tsmux/tsmux.c: (tsmux_new), (tsmux_free),
(tsmux_program_new), (tsmux_program_free):
* gst/mpegtsmux/tsmux/tsmuxstream.c: (tsmux_stream_new),
(tsmux_stream_free), (tsmux_stream_consume),
(tsmux_stream_add_data):
Use GSlice.

16 years agogst/mpegtsmux/mpegtsmux.c: Add support for muxing MPEG4 video.
Sebastian Dröge [Mon, 1 Sep 2008 17:47:03 +0000 (17:47 +0000)]
gst/mpegtsmux/mpegtsmux.c: Add support for muxing MPEG4 video.

Original commit message from CVS:
* gst/mpegtsmux/mpegtsmux.c: (mpegtsmux_create_stream):
Add support for muxing MPEG4 video.

16 years agogst/mpegtsmux/tsmux/: Fix build of mpegtsmux.
Edward Hervey [Mon, 1 Sep 2008 17:41:39 +0000 (17:41 +0000)]
gst/mpegtsmux/tsmux/: Fix build of mpegtsmux.

Original commit message from CVS:
* gst/mpegtsmux/tsmux/tsmux.h:
* gst/mpegtsmux/tsmux/tsmuxstream.h:
Fix build of mpegtsmux.

16 years agoAdd Fluendo MPEG-TS muxer and libtsmux to gst-plugins-bad. This is renamed to mpegtsm...
Sebastian Dröge [Mon, 1 Sep 2008 16:38:40 +0000 (16:38 +0000)]
Add Fluendo MPEG-TS muxer and libtsmux to gst-plugins-bad. This is renamed to mpegtsmux to prevent conflicts. Also al...

Original commit message from CVS:
* configure.ac:
* gst/mpegtsmux/Makefile.am:
* gst/mpegtsmux/mpegtsmux.c: (mpegtsmux_base_init),
(mpegtsmux_class_init), (mpegtsmux_init), (mpegtsmux_dispose),
(gst_mpegtsmux_set_property), (gst_mpegtsmux_get_property),
(release_buffer_cb), (mpegtsmux_create_stream),
(mpegtsmux_create_streams), (mpegtsmux_choose_best_stream),
(mpegtsmux_collected), (mpegtsmux_request_new_pad),
(mpegtsmux_release_pad), (new_packet_cb),
(mpegtsdemux_prepare_srcpad), (mpegtsmux_change_state),
(plugin_init):
* gst/mpegtsmux/mpegtsmux.h:
* gst/mpegtsmux/mpegtsmux_aac.c: (mpegtsmux_prepare_aac):
* gst/mpegtsmux/mpegtsmux_aac.h:
* gst/mpegtsmux/mpegtsmux_h264.c: (mpegtsmux_prepare_h264):
* gst/mpegtsmux/mpegtsmux_h264.h:
* gst/mpegtsmux/tsmux/Makefile.am:
* gst/mpegtsmux/tsmux/crc.h:
* gst/mpegtsmux/tsmux/tsmux.c: (tsmux_new), (tsmux_set_write_func),
(tsmux_set_pat_frequency), (tsmux_get_pat_frequency), (tsmux_free),
(tsmux_program_new), (tsmux_set_pmt_frequency),
(tsmux_get_pmt_frequency), (tsmux_program_add_stream),
(tsmux_program_set_pcr_stream), (tsmux_get_new_pid),
(tsmux_create_stream), (tsmux_find_stream), (tsmux_packet_out),
(tsmux_write_adaptation_field), (tsmux_write_ts_header),
(tsmux_write_stream_packet), (tsmux_program_free),
(tsmux_write_section), (tsmux_write_section_hdr),
(tsmux_write_pat), (tsmux_write_pmt):
* gst/mpegtsmux/tsmux/tsmux.h:
* gst/mpegtsmux/tsmux/tsmuxcommon.h:
* gst/mpegtsmux/tsmux/tsmuxstream.c: (tsmux_stream_new),
(tsmux_stream_get_pid), (tsmux_stream_free),
(tsmux_stream_set_buffer_release_func), (tsmux_stream_consume),
(tsmux_stream_at_pes_start), (tsmux_stream_bytes_avail),
(tsmux_stream_bytes_in_buffer), (tsmux_stream_get_data),
(tsmux_stream_pes_header_length),
(tsmux_stream_find_pts_dts_within),
(tsmux_stream_write_pes_header), (tsmux_stream_add_data),
(tsmux_stream_get_es_descrs), (tsmux_stream_pcr_ref),
(tsmux_stream_pcr_unref), (tsmux_stream_is_pcr),
(tsmux_stream_get_pts):
* gst/mpegtsmux/tsmux/tsmuxstream.h:
Add Fluendo MPEG-TS muxer and libtsmux to gst-plugins-bad. This
is renamed to mpegtsmux to prevent conflicts. Also all relevant
informations about copyright and license are added to the top of
every file but apart from that no changes compared to the latest
SVN versions happened.

16 years agotests/check/elements/audioresample.c: Now that GstBaseTransform is 'fixed' ... remove...
Edward Hervey [Mon, 1 Sep 2008 16:05:45 +0000 (16:05 +0000)]
tests/check/elements/audioresample.c: Now that GstBaseTransform is 'fixed' ... remove cruft from tests.

Original commit message from CVS:
* tests/check/elements/audioresample.c: (setup_audioresample),
(fail_unless_perfect_stream), (test_perfect_stream_instance),
(test_discont_stream_instance):
Now that GstBaseTransform is 'fixed' ... remove cruft from tests.
Add debugging for coherence.

16 years agogst/selector/gstinputselector.c: Reuse the get_linked_pads for both source and sinkpa...
Wim Taymans [Mon, 1 Sep 2008 13:23:03 +0000 (13:23 +0000)]
gst/selector/gstinputselector.c: Reuse the get_linked_pads for both source and sinkpads because they are the same.

Original commit message from CVS:
* gst/selector/gstinputselector.c: (gst_input_selector_init),
(gst_input_selector_event), (gst_input_selector_query):
Reuse the get_linked_pads for both source and sinkpads because they are
the same.
Implement a custum event handler and get the internally linked pad
directly instead of relying on the default (slower) implementation.

16 years agoext/celt/gstceltdec.c: Correctly take the granulepos from upstream if possible and...
Sebastian Dröge [Sun, 31 Aug 2008 15:01:32 +0000 (15:01 +0000)]
ext/celt/gstceltdec.c: Correctly take the granulepos from upstream if possible and correctly handle the granulepos in...

Original commit message from CVS:
* ext/celt/gstceltdec.c: (celt_dec_chain_parse_data):
Correctly take the granulepos from upstream if possible and
correctly handle the granulepos in various calculations: the
granulepos is the sample number of the _last_ sample in a frame, not
the first.
* ext/celt/gstceltenc.c: (gst_celt_enc_sinkevent),
(gst_celt_enc_encode), (gst_celt_enc_chain),
(gst_celt_enc_change_state):
* ext/celt/gstceltenc.h:
Handle non-zero start timestamps in the encoder and detect/handle
stream discontinuities. Fixes bug #547075.

16 years agoAdd scaletempo plugin, which allows to scale the speed of audio without changing...
Rov Juvano [Sun, 31 Aug 2008 12:20:33 +0000 (12:20 +0000)]
Add scaletempo plugin, which allows to scale the speed of audio without changing the pitch by handling seeks with a r...

Original commit message from CVS:
Patch by: Rov Juvano <rovjuvano at users dot sourceforge dot net>
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/inspect/plugin-scaletempo.xml:
* examples/scaletempo/Makefile.am:
* examples/scaletempo/demo-gui.c: (pop_status_bar),
(status_bar_printf), (demo_gui_seek_bar_format), (update_position),
(demo_gui_seek_bar_change), (demo_gui_do_change_rate),
(demo_gui_do_set_rate), (demo_gui_do_rate_entered),
(demo_gui_do_toggle_advanced), (demo_gui_do_toggle_disabled),
(demo_gui_do_seek), (demo_gui_do_play), (demo_gui_do_pause),
(demo_gui_do_play_pause), (demo_gui_do_open_file),
(demo_gui_do_playlist_prev), (demo_gui_do_playlist_next),
(demo_gui_do_about_dialog), (demo_gui_do_quit),
(demo_gui_request_set_stride), (demo_gui_request_set_overlap),
(demo_gui_request_set_search), (demo_gui_rate_changed),
(demo_gui_playing_started), (demo_gui_playing_paused),
(demo_gui_playing_ended), (demo_gui_player_errored),
(demo_gui_stride_changed), (demo_gui_overlap_changed),
(demo_gui_search_changed), (demo_gui_set_player_func),
(demo_gui_set_playlist_func), (build_gvalue_array),
(create_action), (demo_gui_show_func), (demo_gui_set_player),
(demo_gui_set_playlist), (demo_gui_show), (demo_gui_get_property),
(demo_gui_set_property), (demo_gui_init), (demo_gui_class_init),
(demo_gui_get_type):
* examples/scaletempo/demo-gui.h:
* examples/scaletempo/demo-main.c: (handle_error_message),
(handle_quit), (main):
* examples/scaletempo/demo-player.c: (no_pipeline),
(demo_player_event_listener), (demo_player_state_changed_cb),
(demo_player_eos_cb), (demo_player_build_pipeline), (_set_rate),
(demo_player_scale_rate_func), (demo_player_set_rate_func),
(_set_state_and_wait), (demo_player_load_uri_func),
(demo_player_play_func), (demo_player_pause_func), (_seek_to),
(demo_player_seek_by_func), (demo_player_seek_to_func),
(demo_player_get_position_func), (demo_player_get_duration_func),
(demo_player_scale_rate), (demo_player_set_rate),
(demo_player_load_uri), (demo_player_play), (demo_player_pause),
(demo_player_seek_by), (demo_player_seek_to),
(demo_player_get_position), (demo_player_get_duration),
(demo_player_get_property), (demo_player_set_property),
(demo_player_init), (demo_player_class_init),
(demo_player_get_type):
* examples/scaletempo/demo-player.h:
* gst/scaletempo/Makefile.am:
* gst/scaletempo/gstscaletempo.c: (best_overlap_offset_float),
(best_overlap_offset_s16), (output_overlap_float),
(output_overlap_s16), (fill_queue), (reinit_buffers),
(gst_scaletempo_transform), (gst_scaletempo_transform_size),
(gst_scaletempo_sink_event), (gst_scaletempo_set_caps),
(gst_scaletempo_get_property), (gst_scaletempo_set_property),
(gst_scaletempo_base_init), (gst_scaletempo_class_init),
(gst_scaletempo_init):
* gst/scaletempo/gstscaletempo.h:
* gst/scaletempo/gstscaletempoplugin.c: (plugin_init):
Add scaletempo plugin, which allows to scale the speed of audio without
changing the pitch by handling seeks with a rate!=1.0.
Integrate it into the docs and add the example application for it.
Fixes bug #537700.

16 years agoext/dirac/gstdiracenc.cc: Fix some memleaks.
David Schleef [Sat, 30 Aug 2008 20:22:01 +0000 (20:22 +0000)]
ext/dirac/gstdiracenc.cc: Fix some memleaks.

Original commit message from CVS:
* ext/dirac/gstdiracenc.cc: Fix some memleaks.

16 years agoext/dirac/gstdiracenc.cc: Fix EOS handling. Clean up at object disposal. Handle...
David Schleef [Sat, 30 Aug 2008 06:30:42 +0000 (06:30 +0000)]
ext/dirac/gstdiracenc.cc: Fix EOS handling.  Clean up at object disposal.  Handle 4:2:2 and 4:4:4 video.

Original commit message from CVS:
* ext/dirac/gstdiracenc.cc: Fix EOS handling.  Clean up at
object disposal.  Handle 4:2:2 and 4:4:4 video.

16 years agoext/resindvd/resindvdbin.c: Fix compiler warning on Forte.
Jan Schmidt [Fri, 29 Aug 2008 14:05:25 +0000 (14:05 +0000)]
ext/resindvd/resindvdbin.c: Fix compiler warning on Forte.

Original commit message from CVS:
* ext/resindvd/resindvdbin.c:
Fix compiler warning on Forte.

16 years agoconfigure.ac: Commit FIONREAD check, needed for the dccp src.
Jan Schmidt [Fri, 29 Aug 2008 13:57:39 +0000 (13:57 +0000)]
configure.ac: Commit FIONREAD check, needed for the dccp src.

Original commit message from CVS:
* configure.ac:
Commit FIONREAD check, needed for the dccp src.

16 years agoupdate spec file to include latest plugins, add apexsrc diretory to disted files
Christian Schaller [Fri, 29 Aug 2008 12:16:27 +0000 (12:16 +0000)]
update spec file to include latest plugins, add apexsrc diretory to disted files

Original commit message from CVS:
update spec file to include latest plugins, add apexsrc diretory to disted files

16 years agoext/faac/gstfaac.*: Add code for calculating proper timestamp/duration for the traili...
Edward Hervey [Fri, 29 Aug 2008 11:36:41 +0000 (11:36 +0000)]
ext/faac/gstfaac.*: Add code for calculating proper timestamp/duration for the trailing encoded buffers that faac wil...

Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_init), (gst_faac_sink_event),
(gst_faac_chain), (gst_faac_change_state):
* ext/faac/gstfaac.h:
Add code for calculating proper timestamp/duration for the trailing
encoded buffers that faac will output when receiving EOS.

16 years agoconfigure.ac: Fix CFLAGS and LIBS for the apexsink.
Sebastian Dröge [Fri, 29 Aug 2008 08:57:14 +0000 (08:57 +0000)]
configure.ac: Fix CFLAGS and LIBS for the apexsink.

Original commit message from CVS:
* configure.ac:
Fix CFLAGS and LIBS for the apexsink.

16 years agosys/winks/ksvideohelpers.c (ks_video_media_type_free): Avoid leaking the KSDATARANGE...
Ole André Vadla Ravnås [Thu, 28 Aug 2008 22:02:28 +0000 (22:02 +0000)]
sys/winks/ksvideohelpers.c (ks_video_media_type_free): Avoid leaking the KSDATARANGE member of each KsVideoMediaType.

Original commit message from CVS:
* sys/winks/ksvideohelpers.c (ks_video_media_type_free):
Avoid leaking the KSDATARANGE member of each KsVideoMediaType.

16 years agogst/dccp/: Fix compilation on Solaris by including filio.h as needed.
Jan Schmidt [Thu, 28 Aug 2008 17:16:51 +0000 (17:16 +0000)]
gst/dccp/: Fix compilation on Solaris by including filio.h as needed.

Original commit message from CVS:
* gst/dccp/gstdccp.c:
* gst/dccp/gstdccpclientsrc.c:
Fix compilation on Solaris by including filio.h as needed.
* gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll.inc:
* gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll2.inc:
Fix compilation with Forte - apparently it hates concatenating a
macro argument that starts with an underscore??

16 years agoAdd apexsink for audio output to Apple AirPort Express Wireless devices. Fixes bug...
Jérémie Bernard [Thu, 28 Aug 2008 17:01:30 +0000 (17:01 +0000)]
Add apexsink for audio output to Apple AirPort Express Wireless devices. Fixes bug #542510.

Original commit message from CVS:
Patch by: Jérémie Bernard <gremimail at gmail dot com>
* configure.ac:
* ext/apexsink/LGPL-3.0.txt:
* ext/apexsink/Makefile.am:
* ext/apexsink/gstapexplugin.c: (plugin_init):
* ext/apexsink/gstapexraop.c: (g_strdel), (gst_apexraop_send),
(gst_apexraop_recv), (gst_apexraop_new), (gst_apexraop_free),
(gst_apexraop_set_host), (gst_apexraop_get_host),
(gst_apexraop_set_port), (gst_apexraop_get_port),
(gst_apexraop_set_useragent), (gst_apexraop_get_useragent),
(gst_apexraop_connect), (gst_apexraop_get_jacktype),
(gst_apexraop_get_jackstatus), (gst_apexraop_close),
(gst_apexraop_set_volume), (gst_apexraop_write_bits),
(gst_apexraop_write), (gst_apexraop_flush):
* ext/apexsink/gstapexraop.h:
* ext/apexsink/gstapexsink.c: (gst_apexsink_jackstatus_get_type),
(gst_apexsink_jacktype_get_type), (gst_apexsink_interfaces_init),
(gst_apexsink_implements_interface_init),
(gst_apexsink_mixer_interface_init),
(gst_apexsink_interface_supported),
(gst_apexsink_mixer_list_tracks), (gst_apexsink_mixer_set_volume),
(gst_apexsink_mixer_get_volume), (gst_apexsink_base_init),
(gst_apexsink_class_init), (gst_apexsink_init),
(gst_apexsink_set_property), (gst_apexsink_get_property),
(gst_apexsink_finalise), (gst_apexsink_open),
(gst_apexsink_prepare), (gst_apexsink_write),
(gst_apexsink_unprepare), (gst_apexsink_delay),
(gst_apexsink_reset), (gst_apexsink_close):
* ext/apexsink/gstapexsink.h:
Add apexsink for audio output to Apple AirPort Express Wireless
devices. Fixes bug #542510.

16 years agogst/rtpmanager/gstrtpsession.c: Send EOS when the session object instructs us to.
Wim Taymans [Thu, 28 Aug 2008 15:21:45 +0000 (15:21 +0000)]
gst/rtpmanager/gstrtpsession.c: Send EOS when the session object instructs us to.

Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_send_rtcp),
(gst_rtp_session_event_send_rtp_sink):
Send EOS when the session object instructs us to.
* gst/rtpmanager/rtpsession.c: (rtp_session_on_timeout):
* gst/rtpmanager/rtpsession.h:
Make it possible for the session manager to instruct us to send EOS. We
currently will EOS when the session is a sender and when the sender part
goes EOS. This is not entirely correct behaviour because the session
could still participate as a receiver.
Fixes #549409.

16 years agogst/aiffparse/aiffparse.c: Read size of chunks preceeding the audio data with the...
Michael Smith [Thu, 28 Aug 2008 01:03:24 +0000 (01:03 +0000)]
gst/aiffparse/aiffparse.c: Read size of chunks preceeding the audio data with the correct endianness. Fixes playback ...

Original commit message from CVS:
* gst/aiffparse/aiffparse.c:
Read size of chunks preceeding the audio data with the
correct endianness. Fixes playback of some files.
Fixes #538500

16 years agoAdd an AIFF parsing element, heavily based on wavparse.
Michael Smith [Thu, 28 Aug 2008 00:25:28 +0000 (00:25 +0000)]
Add an AIFF parsing element, heavily based on wavparse.

Original commit message from CVS:
* configure.ac:
* gst/aiffparse/Makefile.am:
* gst/aiffparse/aiffparse.c:
* gst/aiffparse/aiffparse.h:
Add an AIFF parsing element, heavily based on wavparse.

16 years agosys/winks/gstksvideodevice.c (gst_ks_video_device_class_init, gst_ks_video_device_set...
Ole André Vadla Ravnås [Wed, 27 Aug 2008 21:33:07 +0000 (21:33 +0000)]
sys/winks/gstksvideodevice.c (gst_ks_video_device_class_init, gst_ks_video_device_set_state):

Original commit message from CVS:
* sys/winks/gstksvideodevice.c (gst_ks_video_device_class_init,
gst_ks_video_device_set_state):
Don't set the pin state to KSSTATE_RUN from the streaming thread.
Skip KSSTATE_ACQUIRE when changing pin state downwards.
Be nice and specify G_PARAM_STATIC_STRINGS.
Remove unused finalize method.
* sys/winks/gstksvideosrc.c (DEFAULT_ENABLE_QUIRKS, PROP_ENABLE_QUIRKS,
enable_quirks, gst_ks_video_src_class_init, gst_ks_video_src_init,
gst_ks_video_src_finalize, gst_ks_video_src_get_property,
gst_ks_video_src_set_property, gst_ks_video_src_reset,
gst_ks_video_src_apply_driver_quirks, gst_ks_video_src_change_state,
gst_ks_video_src_set_caps):
First driver quirk: work around Logitech's hostile driver software to
improve stability and performance. See comments for details.
Provide a property to disable driver quirks (enabled by default).
Be nice and specify G_PARAM_STATIC_STRINGS.
Remove unused dispose method.
Tweak include order.

16 years agogst/selector/gstinputselector.c: Implement the LATENCY query in a better way by takin...
Wim Taymans [Wed, 27 Aug 2008 15:45:16 +0000 (15:45 +0000)]
gst/selector/gstinputselector.c: Implement the LATENCY query in a better way by taking the latency of all sinkpads an...

Original commit message from CVS:
* gst/selector/gstinputselector.c: (gst_input_selector_init),
(gst_input_selector_query):
Implement the LATENCY query in a better way by taking the latency of all
sinkpads and taking the min/max instead of just taking a random pad.

16 years agogst/deinterlace2/tvtime/tomsmocomp/: Unroll the loop to handle two bytes at once...
Sebastian Dröge [Tue, 26 Aug 2008 12:33:16 +0000 (12:33 +0000)]
gst/deinterlace2/tvtime/tomsmocomp/: Unroll the loop to handle two bytes at once. This should give a small speedup an...

Original commit message from CVS:
* gst/deinterlace2/tvtime/tomsmocomp/SearchLoopBottom.inc:
* gst/deinterlace2/tvtime/tomsmocomp/SearchLoopTop.inc:
* gst/deinterlace2/tvtime/tomsmocomp/StrangeBob.inc:
* gst/deinterlace2/tvtime/tomsmocomp/WierdBob.inc:
Unroll the loop to handle two bytes at once. This should give
a small speedup and makes it possible to handle chroma and luma
different which is needed later.

16 years agogst/dccp/gstdccpserversink.*: Don't put globals only used by one '.c' file in a header !
Edward Hervey [Tue, 26 Aug 2008 11:18:38 +0000 (11:18 +0000)]
gst/dccp/gstdccpserversink.*: Don't put globals only used by one '.c' file in a header !

Original commit message from CVS:
* gst/dccp/gstdccpserversink.c:
* gst/dccp/gstdccpserversink.h:
Don't put globals only used by one '.c' file in a header !
Declare it as static, fixes build on macosx.

16 years agogst/dccp/gstdccp.c: Whoops, that was one fix too much :)
Edward Hervey [Tue, 26 Aug 2008 11:13:24 +0000 (11:13 +0000)]
gst/dccp/gstdccp.c: Whoops, that was one fix too much :)

Original commit message from CVS:
* gst/dccp/gstdccp.c: (gst_dccp_send_buffer):
Whoops, that was one fix too much :)

16 years agogst/dccp/gstdccp.c: size_t's size varies by platform/architecture. Use glib convenien...
Edward Hervey [Tue, 26 Aug 2008 11:08:34 +0000 (11:08 +0000)]
gst/dccp/gstdccp.c: size_t's size varies by platform/architecture. Use glib convenience macro instead. Fixes build on...

Original commit message from CVS:
* gst/dccp/gstdccp.c: (gst_dccp_read_buffer),
(gst_dccp_send_buffer), (gst_dccp_set_sock_windowsize):
size_t's size varies by platform/architecture. Use glib convenience
macro instead. Fixes build on macosx.
Remove ending '\n' in debug statements.

16 years agogst/pcapparse/gstpcapparse.c: Remove unused code and fix includes.
Edward Hervey [Tue, 26 Aug 2008 11:01:43 +0000 (11:01 +0000)]
gst/pcapparse/gstpcapparse.c: Remove unused code and fix includes.

Original commit message from CVS:
* gst/pcapparse/gstpcapparse.c: (gst_pcap_parse_class_init):
Remove unused code and fix includes.

16 years agogst/deinterlace2/: First part of the C implementation of the tomsmocomp deinterlacing...
Sebastian Dröge [Mon, 25 Aug 2008 14:37:45 +0000 (14:37 +0000)]
gst/deinterlace2/: First part of the C implementation of the tomsmocomp deinterlacing algorithm. This only supports s...

Original commit message from CVS:
* gst/deinterlace2/gstdeinterlace2.c:
(gst_deinterlace_method_class_init):
* gst/deinterlace2/gstdeinterlace2.h:
* gst/deinterlace2/tvtime/tomsmocomp.c:
(gst_deinterlace_method_tomsmocomp_class_init):
* gst/deinterlace2/tvtime/tomsmocomp/SearchLoopBottom.inc:
* gst/deinterlace2/tvtime/tomsmocomp/SearchLoopTop.inc:
* gst/deinterlace2/tvtime/tomsmocomp/StrangeBob.inc:
* gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll.inc:
* gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll2.inc:
* gst/deinterlace2/tvtime/tomsmocomp/WierdBob.inc:
* gst/deinterlace2/tvtime/tomsmocomp/tomsmocompmacros.h:
First part of the C implementation of the tomsmocomp deinterlacing
algorithm. This only supports search-effort=0 currently, is painfully
slow and needs some cleanup later when all search-effort settings
are implemented in C.

16 years agoNew plugin for low-latency video capture on Windows (#519935).
Ole André Vadla Ravnås [Sun, 24 Aug 2008 22:05:48 +0000 (22:05 +0000)]
New plugin for low-latency video capture on Windows (#519935).

Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/winks/Makefile.am:
* sys/winks/gstksclock.c:
* sys/winks/gstksclock.h:
* sys/winks/gstksvideodevice.c:
* sys/winks/gstksvideodevice.h:
* sys/winks/gstksvideosrc.c:
* sys/winks/gstksvideosrc.h:
* sys/winks/kshelpers.c:
* sys/winks/kshelpers.h:
* sys/winks/ksvideohelpers.c:
* sys/winks/ksvideohelpers.h:
New plugin for low-latency video capture on Windows (#519935).
Uses Kernel Streaming, the lowest level API for doing video capture
on Windows (more or less just raw ioctls).

16 years agoAdded documentation blobs. Thanks to Stefan for noticing!
Ole André Vadla Ravnås [Sun, 24 Aug 2008 16:55:48 +0000 (16:55 +0000)]
Added documentation blobs. Thanks to Stefan for noticing!

Original commit message from CVS:
* gst/pcapparse/gstpcapparse.c:
* sys/winscreencap/gstdx9screencapsrc.c:
* sys/winscreencap/gstgdiscreencapsrc.c:
Added documentation blobs. Thanks to Stefan for noticing!

16 years agoNew plugin: pcapparse (#520899).
Ole André Vadla Ravnås [Sun, 24 Aug 2008 13:53:29 +0000 (13:53 +0000)]
New plugin: pcapparse (#520899).

Original commit message from CVS:
* configure.ac:
* gst/pcapparse/Makefile.am:
* gst/pcapparse/gstpcapparse.c:
* gst/pcapparse/gstpcapparse.h:
New plugin: pcapparse (#520899).

16 years agoNew plugin: winscreencap (#463941).
Haakon Sporsheim [Sun, 24 Aug 2008 13:23:44 +0000 (13:23 +0000)]
New plugin: winscreencap (#463941).

Original commit message from CVS:
patch by: Haakon Sporsheim <hakon.sporsheim@tandberg.com>
* configure.ac:
* sys/Makefile.am:
* sys/winscreencap/Makefile.am:
* sys/winscreencap/gstdx9screencapsrc.c:
* sys/winscreencap/gstdx9screencapsrc.h:
* sys/winscreencap/gstgdiscreencapsrc.c:
* sys/winscreencap/gstgdiscreencapsrc.h:
* sys/winscreencap/gstwinscreencap.c:
* sys/winscreencap/gstwinscreencap.h:
New plugin: winscreencap (#463941).

16 years agosys/dshowdecwrapper/gstdshowaudiodec.c: Flip mpeg1/mpeg2 arrays for mpeg audio. Detec...
Michael Smith [Sat, 23 Aug 2008 00:01:39 +0000 (00:01 +0000)]
sys/dshowdecwrapper/gstdshowaudiodec.c: Flip mpeg1/mpeg2 arrays for mpeg audio. Detect which type the audio is correc...

Original commit message from CVS:
* sys/dshowdecwrapper/gstdshowaudiodec.c:
Flip mpeg1/mpeg2 arrays for mpeg audio. Detect which type the audio
is correctly, instead of backwards. No functional changes, since this
mistake was completely self-consistent.

16 years agodocs/plugins/gst-plugins-bad-plugins-docs.sgml: Add, but commented out xml/element...
Stefan Kost [Fri, 22 Aug 2008 06:27:57 +0000 (06:27 +0000)]
docs/plugins/gst-plugins-bad-plugins-docs.sgml: Add, but commented out xml/element-dc1394.xml. Its documented, but

Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
Add, but commented out xml/element-dc1394.xml. Its documented, but
I can't get it to be build.
* ext/celt/gstceltdec.c:
* ext/celt/gstceltenc.c:
Fix doc warnings and reformat the doc block.

16 years agoAdd dccp plugin. Fixes #542390.
Leandro Melo de Sales [Thu, 21 Aug 2008 13:22:38 +0000 (13:22 +0000)]
Add dccp plugin. Fixes #542390.

Original commit message from CVS:
patch by: Leandro Melo de Sales <leandroal@gmail.com>
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.prerequisites:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-dccp.xml:
* gst/dccp/Makefile.am:
* gst/dccp/gstdccp.c:
* gst/dccp/gstdccp.h:
* gst/dccp/gstdccpclientsink.c:
* gst/dccp/gstdccpclientsink.h:
* gst/dccp/gstdccpclientsrc.c:
* gst/dccp/gstdccpclientsrc.h:
* gst/dccp/gstdccpplugin.c:
* gst/dccp/gstdccpserversink.c:
* gst/dccp/gstdccpserversink.h:
* gst/dccp/gstdccpserversrc.c:
* gst/dccp/gstdccpserversrc.h:
* tests/icles/dccp/README:
* tests/icles/dccp/call/README:
* tests/icles/dccp/call/DCCPClient.c:
* tests/icles/dccp/call/DCCPServer.c:
* tests/icles/dccp/file/DCCPClientSaveFile.c:
* tests/icles/dccp/file/DCCPServerSendFile.c:
* tests/icles/dccp/mic/DCCPClientPlayMic.c:
* tests/icles/dccp/mic/DCCPServerMic.c:
* tests/icles/dccp/mp3/DCCPClientPlayMP3.c:
* tests/icles/dccp/mp3/DCCPServerSendMP3.c:
* tests/icles/dccp/mp3Speex/DCCPClientPlaySpeexMP3.c:
* tests/icles/dccp/mp3Speex/DCCPServerSendSpeexMP3.c:
* tests/icles/dccp/mp3Stream/DCCPClientPlayMP3Stream.c:
* tests/icles/dccp/mp3Stream/DCCPServerSendMP3Stream.c:
Add dccp plugin. Fixes #542390.

16 years agoconfigure.ac: Remove bits that presumably weren't supposed to be committed.
Tim-Philipp Müller [Wed, 20 Aug 2008 22:24:28 +0000 (22:24 +0000)]
configure.ac: Remove bits that presumably weren't supposed to be committed.

Original commit message from CVS:
* configure.ac:
Remove bits that presumably weren't supposed to be committed.

16 years agoAdd new windows ACM encoder wrapper.
Michael Smith [Wed, 20 Aug 2008 21:44:22 +0000 (21:44 +0000)]
Add new windows ACM encoder wrapper.

Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/acmenc/Makefile.am:
* sys/acmenc/acmenc.c:
Add new windows ACM encoder wrapper.

16 years agosys/dvb/: Add ATSC tunning and channels.conf parsing support.
Michael Krufky [Mon, 18 Aug 2008 11:13:07 +0000 (11:13 +0000)]
sys/dvb/: Add ATSC tunning and channels.conf parsing support.

Original commit message from CVS:
patch by: Michael Krufky
* sys/dvb/gstdvbsrc.c:
* sys/dvb/parsechannels.c:
Add ATSC tunning and channels.conf parsing support.
Fixes #537455

16 years agosys/: Initialise COM with default flags.
Michael Smith [Wed, 13 Aug 2008 21:58:08 +0000 (21:58 +0000)]
sys/: Initialise COM with default flags.

Original commit message from CVS:
* sys/dshowdecwrapper/gstdshowaudiodec.c:
* sys/dshowdecwrapper/gstdshowaudiodec.h:
* sys/dshowdecwrapper/gstdshowvideodec.c:
* sys/dshowdecwrapper/gstdshowvideodec.h:
* sys/dshowvideosink/dshowvideosink.cpp:
* sys/dshowvideosink/dshowvideosink.h:
Initialise COM with default flags.
Only deinitialise if the initialisation was successful.

16 years agogst/rtpmanager/gstrtpbin.c: Reset rtp timestamp interpollation when we detect a gap...
Wim Taymans [Wed, 13 Aug 2008 14:31:02 +0000 (14:31 +0000)]
gst/rtpmanager/gstrtpbin.c: Reset rtp timestamp interpollation when we detect a gap when the clock_base changed.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_associate),
(gst_rtp_bin_sync_chain), (new_ssrc_pad_found):
Reset rtp timestamp interpollation when we detect a gap when the
clock_base changed.
Don't try to adjust the ts-offset when it's too big (> 3seconds)
* gst/rtpmanager/gstrtpsession.c: (gst_rtp_session_set_ssrc):
* gst/rtpmanager/gstrtpsession.h:
Add method to set session SSRC.
* gst/rtpmanager/rtpsession.c: (check_collision),
(rtp_session_set_internal_ssrc), (rtp_session_get_internal_ssrc),
(rtp_session_on_timeout):
* gst/rtpmanager/rtpsession.h:
Added debugging for the collision checks.
Add method to change the internal SSRC of the session.
* gst/rtpmanager/rtpsource.c: (rtp_source_process_rtp):
Reset the clock base when we detect large jumps in the seqnums.

16 years agoext/x264/gstx264enc.*: Do not deal with duplicated input (timestamps). If needed...
Mark Nauwelaerts [Tue, 12 Aug 2008 16:13:15 +0000 (16:13 +0000)]
ext/x264/gstx264enc.*: Do not deal with duplicated input (timestamps).  If needed, a generic element can do so.

Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_reset),
(gst_x264_enc_chain), (gst_x264_enc_encode_frame):
* ext/x264/gstx264enc.h:
Do not deal with duplicated input (timestamps).  If needed,
a generic element can do so.
Do not manipulate input timestamps on the way out,
since that shifts the timeline and A/V sync.

16 years agodocs/plugins/gst-plugins-bad-plugins.args: Integrate new properties into documentation.
Mark Nauwelaerts [Tue, 12 Aug 2008 15:41:48 +0000 (15:41 +0000)]
docs/plugins/gst-plugins-bad-plugins.args: Integrate new properties into documentation.

Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins.args:
Integrate new properties into documentation.
* ext/x264/gstx264enc.c: (gst_x264_enc_class_init),
(gst_x264_enc_init), (gst_x264_enc_init_encoder),
(gst_x264_enc_set_property), (gst_x264_enc_get_property):
Fix up API prior to eventual plugin move.
API: GstX264Enc:pass (provides more options, and changed to enum)

16 years agoUpdate and add documentation for mplex.
Mark Nauwelaerts [Tue, 12 Aug 2008 14:31:57 +0000 (14:31 +0000)]
Update and add documentation for mplex.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/inspect/plugin-mplex.xml:
* ext/mplex/gstmplex.cc:
Update and add documentation for mplex.
* ext/mpeg2enc/gstmpeg2enc.cc:
Documentation update.

16 years agoAdd documentation and unit test for x264enc.
Mark Nauwelaerts [Tue, 12 Aug 2008 13:08:39 +0000 (13:08 +0000)]
Add documentation and unit test for x264enc.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* ext/x264/gstx264enc.c:
* tests/check/Makefile.am:
* tests/check/elements/x264enc.c: (setup_x264enc),
(cleanup_x264enc), (GST_START_TEST), (x264enc_suite), (main):
Add documentation and unit test for x264enc.

16 years agoext/x264/gstx264enc.c: Allocate some buffers in more adaptive and economical fashion.
Mark Nauwelaerts [Mon, 11 Aug 2008 17:24:58 +0000 (17:24 +0000)]
ext/x264/gstx264enc.c: Allocate some buffers in more adaptive and economical fashion.

Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_init),
(gst_x264_enc_header_buf), (gst_x264_enc_encode_frame):
Allocate some buffers in more adaptive and economical fashion.

16 years agoconfigure.ac: Check for sufficiently up-to-date x264 API.
Mark Nauwelaerts [Mon, 11 Aug 2008 15:16:14 +0000 (15:16 +0000)]
configure.ac: Check for sufficiently up-to-date x264 API.

Original commit message from CVS:
* configure.ac:
Check for sufficiently up-to-date x264 API.
* ext/x264/gstx264enc.c: (gst_x264_enc_pass_get_type),
(gst_x264_enc_base_init), (gst_x264_enc_class_init),
(gst_x264_enc_init), (gst_x264_enc_init_encoder),
(gst_x264_enc_set_property), (gst_x264_enc_get_property):
* ext/x264/gstx264enc.h:
Expose some more parameters of the x264 encoder as properties.

16 years agogst/rtpmanager/gstrtpbin.c: Print the pad-name in debug log.
Stefan Kost [Mon, 11 Aug 2008 07:20:15 +0000 (07:20 +0000)]
gst/rtpmanager/gstrtpbin.c: Print the pad-name in debug log.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c:
Print the pad-name in debug log.
* sys/dshowsrcwrapper/gstdshowaudiosrc.c:
* sys/dshowsrcwrapper/gstdshowvideosrc.c:
Use "-" instead of "_" in property names. Can we call them just
"device" like everywhere else?