platform/upstream/gstreamer.git
15 years agogst/mpegdemux/gstmpegdemux.c: Use the adjusted SCR for calculating the mux rate.
Wim Taymans [Mon, 29 Dec 2008 18:22:26 +0000 (18:22 +0000)]
gst/mpegdemux/gstmpegdemux.c: Use the adjusted SCR for calculating the mux rate.

Original commit message from CVS:
* gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_src_query),
(gst_flups_demux_parse_pack_start):
Use the adjusted SCR for calculating the mux rate.
Don't update the rate estimation after a discont.

15 years agogst/mpegdemux/gstmpegdemux.*: The position member in the newsegment event corresponds...
Wim Taymans [Mon, 29 Dec 2008 17:55:18 +0000 (17:55 +0000)]
gst/mpegdemux/gstmpegdemux.*: The position member in the newsegment event corresponds to the stream_time of the segme...

Original commit message from CVS:
* gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data):
* gst/mpegdemux/gstmpegdemux.h:
The position member in the newsegment event corresponds to the
stream_time of the segment start position.

15 years agogst/mpegdemux/gstmpegdemux.c: Converting from time to bytes operates on the stream_ti...
Robin Stocker [Mon, 29 Dec 2008 17:30:03 +0000 (17:30 +0000)]
gst/mpegdemux/gstmpegdemux.c: Converting from time to bytes operates on the stream_time, not the SCR timeline.

Original commit message from CVS:
Patch by: Robin Stocker <robin at nibor dot org>
* gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_src_query):
Converting from time to bytes operates on the stream_time, not the SCR
timeline.
The position reporting should happen in stream_time, not the segment
timestamp range. See #557161.

15 years agogst-libs/gst/app/gstappsrc.*: Add properties and methods to configure and retrieve...
Wim Taymans [Mon, 29 Dec 2008 16:45:20 +0000 (16:45 +0000)]
gst-libs/gst/app/gstappsrc.*: Add properties and methods to configure and retrieve the min and max latencies.

Original commit message from CVS:
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_init), (gst_app_src_set_property),
(gst_app_src_get_property), (gst_app_src_query),
(gst_app_src_set_latencies), (gst_app_src_set_latency),
(gst_app_src_get_latency), (gst_app_src_push_buffer_full):
* gst-libs/gst/app/gstappsrc.h:
Add properties and methods to configure and retrieve the min and max
latencies.

15 years agogst/mpegdemux/mpegtspacketizer.c: Fix memleak. Fixes #565614.
Sebastian Pölsterl [Mon, 29 Dec 2008 16:29:08 +0000 (16:29 +0000)]
gst/mpegdemux/mpegtspacketizer.c: Fix memleak. Fixes #565614.

Original commit message from CVS:
Patch by: Sebastian Pölsterl <sebp at k-d-w dot org>
* gst/mpegdemux/mpegtspacketizer.c: (mpegts_packetizer_parse_eit):
Fix memleak. Fixes #565614.

15 years agogst/mpegdemux/mpegtspacketizer.c: Add a scrambled field to the service structures...
Sebastian Pölsterl [Mon, 29 Dec 2008 16:18:47 +0000 (16:18 +0000)]
gst/mpegdemux/mpegtspacketizer.c: Add a scrambled field to the service structures retrieved from SDT to determine if ...

Original commit message from CVS:
Patch by: Sebastian Pölsterl <sebp at k-d-w dot org>
* gst/mpegdemux/mpegtspacketizer.c: (mpegts_packetizer_parse_sdt):
Add a scrambled field to the service structures retrieved from SDT to
determine if a channel is scrambled. Fixes #565613.

15 years agogst/pcapparse/: Patch to make gstpcapparse compile with mingw32 gcc. Fixes #565439.
Damien Lespiau [Mon, 29 Dec 2008 15:54:44 +0000 (15:54 +0000)]
gst/pcapparse/: Patch to make gstpcapparse compile with mingw32 gcc. Fixes #565439.

Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* gst/pcapparse/Makefile.am:
* gst/pcapparse/gstpcapparse.c:
Patch to make gstpcapparse compile with mingw32 gcc. Fixes #565439.

15 years agogst/rtpmanager/gstrtpsession.c: Use method to get the internal SSRC.
Wim Taymans [Mon, 29 Dec 2008 15:49:37 +0000 (15:49 +0000)]
gst/rtpmanager/gstrtpsession.c: Use method to get the internal SSRC.

Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_getcaps_send_rtp):
Use method to get the internal SSRC.
* gst/rtpmanager/rtpsession.c: (rtp_session_class_init),
(rtp_session_set_property), (rtp_session_get_property):
Add property to congiure the internal SSRC of the session.
Fixes #565910.

15 years agogst/rtpmanager/rtpsession.c: Only change the SSRC of the session and reset the intern...
Wim Taymans [Mon, 29 Dec 2008 15:21:58 +0000 (15:21 +0000)]
gst/rtpmanager/rtpsession.c: Only change the SSRC of the session and reset the internal source when the SSRC actually...

Original commit message from CVS:
* gst/rtpmanager/rtpsession.c: (rtp_session_set_internal_ssrc):
Only change the SSRC of the session and reset the internal source when
the SSRC actually changed. See #565910.

15 years agogst/rtpmanager/rtpsource.*: When no payload was specified on the caps but there was...
Wim Taymans [Mon, 29 Dec 2008 14:21:47 +0000 (14:21 +0000)]
gst/rtpmanager/rtpsource.*: When no payload was specified on the caps but there was a clock-rate, assume the clock-ra...

Original commit message from CVS:
* gst/rtpmanager/rtpsource.c: (rtp_source_init),
(rtp_source_update_caps), (get_clock_rate):
* gst/rtpmanager/rtpsource.h:
When no payload was specified on the caps but there was a clock-rate,
assume the clock-rate corresponds to the first payload type found in the
RTP packets. Fixes #565509.

15 years agosys/dvb/gstdvbsrc.c: With constant read failures, make sure we exit the read_device...
Zaheer Abbas Merali [Tue, 23 Dec 2008 16:32:05 +0000 (16:32 +0000)]
sys/dvb/gstdvbsrc.c: With constant read failures, make sure we exit the read_device method.

Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
With constant read failures, make sure we exit the read_device
method.

15 years agosys/dvb/gstdvbsrc.c: Post bus message with dvb read failure when unable to read from...
Zaheer Abbas Merali [Tue, 23 Dec 2008 15:26:30 +0000 (15:26 +0000)]
sys/dvb/gstdvbsrc.c: Post bus message with dvb read failure when unable to read from device.

Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Post bus message with dvb read failure when unable to read from
device.

15 years agosys/fbdev/gstfbdevsink.c: Fix the Depth calculation.
Luotao Fu [Tue, 23 Dec 2008 12:25:47 +0000 (12:25 +0000)]
sys/fbdev/gstfbdevsink.c: Fix the Depth calculation.

Original commit message from CVS:
Patch by: Luotao Fu <l dot fu at pengutronix dot de>
* sys/fbdev/gstfbdevsink.c: (gst_fbdevsink_getcaps):
Fix the Depth calculation.
Fixes #564114.

15 years agogst/rtpmanager/rtpjitterbuffer.*: Keep track of the last outgoing timestamp and of...
Arnout Vandecappelle [Tue, 23 Dec 2008 11:39:59 +0000 (11:39 +0000)]
gst/rtpmanager/rtpjitterbuffer.*: Keep track of the last outgoing timestamp and of the last sender-side time.  Timest...

Original commit message from CVS:
Patch by: Arnout Vandecappelle <arnout at mind dot be>
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_reset_skew),
(calculate_skew):
* gst/rtpmanager/rtpjitterbuffer.h:
Keep track of the last outgoing timestamp and of the last sender-side
time.  Timestamps can only go forward if they do at the sender
side, can only go back if they do at the sender side, and remain the
same if they remain the same at the sender side. Fixes #565319.

15 years agogst/mxf/mxfmpeg.c: Add initial support for h.264 video (SMPTE RP2008).
Sebastian Dröge [Mon, 22 Dec 2008 20:56:10 +0000 (20:56 +0000)]
gst/mxf/mxfmpeg.c: Add initial support for h.264 video (SMPTE RP2008).

Original commit message from CVS:
* gst/mxf/mxfmpeg.c: (mxf_mpeg_es_create_caps),
(mxf_mpeg_create_caps):
Add initial support for h.264 video (SMPTE RP2008).

15 years agogst/mxf/mxfmetadata.*: If resolving a metadata object failed the first time return
Sebastian Dröge [Mon, 22 Dec 2008 20:37:24 +0000 (20:37 +0000)]
gst/mxf/mxfmetadata.*: If resolving a metadata object failed the first time return

Original commit message from CVS:
* gst/mxf/mxfmetadata.c: (mxf_metadata_base_resolve):
* gst/mxf/mxfmetadata.h:
If resolving a metadata object failed the first time return
FALSE for a second mxf_metadata_base_resolve() call instead
of TRUE.

15 years agogst/mxf/: Cleanup of the includes.
Sebastian Dröge [Mon, 22 Dec 2008 10:14:35 +0000 (10:14 +0000)]
gst/mxf/: Cleanup of the includes.

Original commit message from CVS:
* gst/mxf/mxf.c:
* gst/mxf/mxfaes-bwf.h:
* gst/mxf/mxfd10.c:
* gst/mxf/mxfdms1.c:
* gst/mxf/mxfdms1.h:
* gst/mxf/mxfmpeg.h:
* gst/mxf/mxftypes.h:
Cleanup of the includes.

15 years agogst/qtmux/gstqtmux.c: Do not tempt or suggest to violate gst_collect_pads API specifi...
Mark Nauwelaerts [Fri, 19 Dec 2008 18:53:47 +0000 (18:53 +0000)]
gst/qtmux/gstqtmux.c: Do not tempt or suggest to violate gst_collect_pads API specification.

Original commit message from CVS:
* gst/qtmux/gstqtmux.c: (gst_qt_mux_change_state):
Do not tempt or suggest to violate gst_collect_pads API specification.

15 years agogst/qtmux/: Dual license qtmux LGPL/MIT. Fixes #564232.
Mark Nauwelaerts [Fri, 19 Dec 2008 18:33:47 +0000 (18:33 +0000)]
gst/qtmux/: Dual license qtmux LGPL/MIT.  Fixes #564232.

Original commit message from CVS:
* gst/qtmux/atoms.c:
* gst/qtmux/atoms.h:
* gst/qtmux/descriptors.c:
* gst/qtmux/descriptors.h:
* gst/qtmux/fourcc.h:
* gst/qtmux/ftypcc.h:
* gst/qtmux/gstqtmux.c:
* gst/qtmux/gstqtmux.h:
* gst/qtmux/gstqtmuxmap.c:
* gst/qtmux/gstqtmuxmap.h:
* gst/qtmux/properties.c:
* gst/qtmux/properties.h:
Dual license qtmux LGPL/MIT.  Fixes #564232.

15 years agogst/mxf/: Add mxf_metadata_generic_sound_essence_descriptor_set_caps() to set rate...
Sebastian Dröge [Fri, 19 Dec 2008 10:06:24 +0000 (10:06 +0000)]
gst/mxf/: Add mxf_metadata_generic_sound_essence_descriptor_set_caps() to set rate and channels and use this for all ...

Original commit message from CVS:
* gst/mxf/mxfaes-bwf.c: (mxf_bwf_create_caps),
(mxf_aes3_create_caps):
* gst/mxf/mxfalaw.c: (mxf_alaw_create_caps):
* gst/mxf/mxfd10.c: (mxf_d10_create_caps):
* gst/mxf/mxfdemux.c:
* gst/mxf/mxfmetadata.c: (mxf_metadata_source_package_resolve),
(mxf_metadata_generic_picture_essence_descriptor_set_caps),
(mxf_metadata_generic_sound_essence_descriptor_set_caps):
* gst/mxf/mxfmetadata.h:
* gst/mxf/mxfmpeg.c: (mxf_mpeg_es_create_caps):
Add mxf_metadata_generic_sound_essence_descriptor_set_caps() to
set rate and channels and use this for all sound essence.
Give some debug output when setting picture essence caps with
invalid descriptor values.
Fix height calculation from the frame layout a bit more and
add a TODO to check if it's really correct now or if it needs
more fixing (especially, does the framerate need adjustments?).

15 years agogst/mxf/: Add support for VC-3 (aka DNxHD essence, see SMPTE 2019-4).
Sebastian Dröge [Thu, 18 Dec 2008 17:49:08 +0000 (17:49 +0000)]
gst/mxf/: Add support for VC-3 (aka DNxHD essence, see SMPTE 2019-4).

Original commit message from CVS:
* gst/mxf/Makefile.am:
* gst/mxf/mxf.c: (plugin_init):
* gst/mxf/mxfvc3.c: (mxf_is_vc3_essence_track),
(mxf_vc3_handle_essence_element), (mxf_vc3_create_caps),
(mxf_vc3_init):
* gst/mxf/mxfvc3.h:
Add support for VC-3 (aka DNxHD essence, see SMPTE 2019-4).
This is untested because of lack of sample files but should
work fine.

15 years agoAdd appsrc and appsink documentation.
Wim Taymans [Wed, 17 Dec 2008 13:51:46 +0000 (13:51 +0000)]
Add appsrc and appsink documentation.

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:
* gst-libs/gst/app/gstappsink.c:
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init):
Add appsrc and appsink documentation.

15 years agogst/mxf/mxfdemux.c: In push mode skip the run in again if we get buffers with an...
Sebastian Dröge [Wed, 17 Dec 2008 12:06:43 +0000 (12:06 +0000)]
gst/mxf/mxfdemux.c: In push mode skip the run in again if we get buffers with an offset before the run in. This can h...

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_chain):
In push mode skip the run in again if we get buffers with
an offset before the run in. This can happen on seeks for example.

15 years agoTotally remove the internal taglists and fully use tagsetter. Fixes various tag muxin...
Stefan Kost [Tue, 16 Dec 2008 16:26:52 +0000 (16:26 +0000)]
Totally remove the internal taglists and fully use tagsetter. Fixes various tag muxing issues.

Original commit message from CVS:
* ext/celt/gstceltenc.c:
* ext/celt/gstceltenc.h:
* ext/metadata/gstmetadatamux.c:
* gst/qtmux/gstqtmux.c:
* gst/qtmux/gstqtmux.h:
Totally remove the internal taglists and fully use tagsetter. Fixes
various tag muxing issues.

15 years agotests/check/elements/mxfdemux.c: Increase the timeout to 3 minutes to prevent timeouts.
Sebastian Dröge [Tue, 16 Dec 2008 12:46:37 +0000 (12:46 +0000)]
tests/check/elements/mxfdemux.c: Increase the timeout to 3 minutes to prevent timeouts.

Original commit message from CVS:
* tests/check/elements/mxfdemux.c: (mxfdemux_suite):
Increase the timeout to 3 minutes to prevent timeouts.

15 years agotests/check/elements/mxfdemux.*: Make sure the main loop is already running when...
Sebastian Dröge [Tue, 16 Dec 2008 12:37:15 +0000 (12:37 +0000)]
tests/check/elements/mxfdemux.*: Make sure the main loop is already running when handling the EOS event in pull mode....

Original commit message from CVS:
* tests/check/elements/mxfdemux.c: (_sink_event):
* tests/check/elements/mxfdemux.h:
Make sure the main loop is already running when handling the EOS
event in pull mode. This works around a race condition that can
happen if the element goes into PLAYING, handles everything and
sends EOS before the main loop is started.

15 years agogst/mxf/: Implement an essence element handling registry and use this instead of...
Sebastian Dröge [Tue, 16 Dec 2008 12:30:34 +0000 (12:30 +0000)]
gst/mxf/: Implement an essence element handling registry and use this instead of an hardcoded, large if-then-else block.

Original commit message from CVS:
* gst/mxf/mxfaes-bwf.c: (mxf_is_aes_bwf_essence_track),
(mxf_bwf_handle_essence_element),
(mxf_aes3_handle_essence_element), (mxf_bwf_create_caps),
(mxf_aes3_create_caps), (mxf_aes_bwf_create_caps),
(mxf_aes_bwf_init):
* gst/mxf/mxfaes-bwf.h:
* gst/mxf/mxfalaw.c: (mxf_is_alaw_essence_track),
(mxf_alaw_handle_essence_element), (mxf_alaw_create_caps),
(mxf_alaw_init):
* gst/mxf/mxfalaw.h:
* gst/mxf/mxfd10.c: (mxf_is_d10_essence_track),
(mxf_d10_picture_handle_essence_element),
(mxf_d10_sound_handle_essence_element), (mxf_d10_create_caps),
(mxf_d10_init):
* gst/mxf/mxfd10.h:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_reset_metadata),
(gst_mxf_demux_handle_header_metadata_update_streams),
(gst_mxf_demux_handle_generic_container_essence_element):
* gst/mxf/mxfdv-dif.c: (mxf_is_dv_dif_essence_track),
(mxf_dv_dif_handle_essence_element), (mxf_dv_dif_create_caps),
(mxf_dv_dif_init):
* gst/mxf/mxfdv-dif.h:
* gst/mxf/mxfjpeg2000.c: (mxf_is_jpeg2000_essence_track),
(mxf_jpeg2000_handle_essence_element), (mxf_jpeg2000_create_caps),
(mxf_jpeg2000_init):
* gst/mxf/mxfjpeg2000.h:
* gst/mxf/mxfmpeg.c: (mxf_is_mpeg_essence_track),
(mxf_mpeg_video_handle_essence_element),
(mxf_mpeg_audio_handle_essence_element), (mxf_mpeg_es_create_caps),
(mxf_mpeg_create_caps), (mxf_mpeg_init):
* gst/mxf/mxfmpeg.h:
* gst/mxf/mxfparse.c: (mxf_essence_element_handler_register),
(mxf_essence_element_handler_find):
* gst/mxf/mxfparse.h:
* gst/mxf/mxfup.c: (mxf_is_up_essence_track),
(mxf_up_handle_essence_element), (mxf_up_rgba_create_caps),
(mxf_up_create_caps), (mxf_up_init):
* gst/mxf/mxfup.h:
Implement an essence element handling registry and use this instead
of an hardcoded, large if-then-else block.

15 years agotests/check/Makefile.am: Blacklist rfbsrc from the state change test.
Edward Hervey [Tue, 16 Dec 2008 10:50:40 +0000 (10:50 +0000)]
tests/check/Makefile.am: Blacklist rfbsrc from the state change test.

Original commit message from CVS:
* tests/check/Makefile.am:
Blacklist rfbsrc from the state change test.

15 years agotests/check/: Add push and pull mode unit test for mxfdemux.
Sebastian Dröge [Tue, 16 Dec 2008 09:59:38 +0000 (09:59 +0000)]
tests/check/: Add push and pull mode unit test for mxfdemux.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/elements/mxfdemux.c: (_pad_added), (_sink_chain),
(_sink_event), (_create_sink_pad), (_create_src_pad_push),
(_src_getrange), (_src_query), (_create_src_pad_pull),
(GST_START_TEST), (mxfdemux_suite):
* tests/check/elements/mxfdemux.h:
Add push and pull mode unit test for mxfdemux.

15 years agoAdd initial documentation for the MXF plugin and mxfdemux.
Sebastian Dröge [Tue, 16 Dec 2008 08:35:05 +0000 (08:35 +0000)]
Add initial documentation for the MXF plugin and mxfdemux.

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.args:
* docs/plugins/gst-plugins-bad-plugins.hierarchy:
* docs/plugins/gst-plugins-bad-plugins.interfaces:
* docs/plugins/gst-plugins-bad-plugins.prerequisites:
* docs/plugins/inspect/plugin-ladspa.xml:
* docs/plugins/inspect/plugin-musepack.xml:
* docs/plugins/inspect/plugin-mxf.xml:
* gst/mxf/mxfdemux.c:
* gst/mxf/mxfdemux.h:
Add initial documentation for the MXF plugin and mxfdemux.

15 years agogst/mxf/: Rename MXFMetadataBase methods to reflect that they belong to
Sebastian Dröge [Tue, 16 Dec 2008 08:21:29 +0000 (08:21 +0000)]
gst/mxf/: Rename MXFMetadataBase methods to reflect that they belong to

Original commit message from CVS:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_header_metadata_resolve_references):
* gst/mxf/mxfmetadata.c: (mxf_metadata_base_resolve_default),
(mxf_metadata_base_class_init), (mxf_metadata_base_parse),
(mxf_metadata_base_resolve), (mxf_metadata_new),
(mxf_metadata_preface_resolve),
(mxf_metadata_content_storage_resolve),
(mxf_metadata_essence_container_data_resolve),
(mxf_metadata_generic_package_resolve),
(mxf_metadata_source_package_resolve),
(mxf_metadata_track_resolve), (mxf_metadata_sequence_resolve),
(mxf_metadata_dm_segment_resolve),
(mxf_metadata_generic_descriptor_resolve),
(mxf_metadata_multiple_descriptor_resolve):
* gst/mxf/mxfmetadata.h:
Rename MXFMetadataBase methods to reflect that they belong to
MXFMetadataBase and not MXFMetadata.

15 years agogst/mxf/: Return FALSE when parsing a metadata tag failed.
Sebastian Dröge [Mon, 15 Dec 2008 18:12:26 +0000 (18:12 +0000)]
gst/mxf/: Return FALSE when parsing a metadata tag failed.

Original commit message from CVS:
* gst/mxf/mxfaes-bwf.c:
(mxf_metadata_wave_audio_essence_descriptor_handle_tag),
(mxf_metadata_aes3_audio_essence_descriptor_handle_tag):
* gst/mxf/mxfmetadata.c:
(mxf_metadata_multiple_descriptor_handle_tag):
Return FALSE when parsing a metadata tag failed.
Remove some useless return value assignments.

15 years agogst/mxf/: Convert the structural metadata to GstMiniObjects to make a lot of code...
Sebastian Dröge [Mon, 15 Dec 2008 17:27:00 +0000 (17:27 +0000)]
gst/mxf/: Convert the structural metadata to GstMiniObjects to make a lot of code easier and to make everything bette...

Original commit message from CVS:
* gst/mxf/Makefile.am:
* gst/mxf/mxf.c: (plugin_init):
* gst/mxf/mxfaes-bwf.c:
(mxf_metadata_wave_audio_essence_descriptor_handle_tag),
(mxf_metadata_wave_audio_essence_descriptor_init),
(mxf_metadata_wave_audio_essence_descriptor_class_init),
(mxf_metadata_aes3_audio_essence_descriptor_finalize),
(mxf_metadata_aes3_audio_essence_descriptor_handle_tag),
(mxf_metadata_aes3_audio_essence_descriptor_init),
(mxf_metadata_aes3_audio_essence_descriptor_class_init),
(mxf_is_aes_bwf_essence_track), (mxf_bwf_create_caps),
(mxf_aes3_create_caps), (mxf_aes_bwf_create_caps),
(mxf_aes_bwf_init):
* gst/mxf/mxfaes-bwf.h:
* gst/mxf/mxfalaw.c: (mxf_is_alaw_essence_track),
(mxf_alaw_create_caps), (mxf_alaw_init):
* gst/mxf/mxfalaw.h:
* gst/mxf/mxfd10.c: (mxf_is_d10_essence_track),
(mxf_d10_create_caps), (mxf_d10_init):
* gst/mxf/mxfd10.h:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_reset_metadata),
(gst_mxf_demux_handle_header_metadata_resolve_references),
(gst_mxf_demux_find_package), (gst_mxf_demux_choose_package),
(gst_mxf_demux_handle_header_metadata_update_streams),
(gst_mxf_demux_handle_metadata),
(gst_mxf_demux_handle_generic_container_essence_element),
(gst_mxf_demux_handle_klv_packet), (gst_mxf_demux_src_query):
* gst/mxf/mxfdemux.h:
* gst/mxf/mxfdv-dif.c: (mxf_is_dv_dif_essence_track),
(mxf_dv_dif_create_caps), (mxf_dv_dif_init):
* gst/mxf/mxfdv-dif.h:
* gst/mxf/mxfjpeg2000.c: (mxf_is_jpeg2000_essence_track),
(mxf_jpeg2000_create_caps), (mxf_jpeg2000_init):
* gst/mxf/mxfjpeg2000.h:
* gst/mxf/mxfmetadata.c: (mxf_metadata_base_finalize),
(mxf_metadata_base_handle_tag), (mxf_metadata_base_resolve),
(mxf_metadata_base_init), (mxf_metadata_base_class_init),
(mxf_metadata_parse), (mxf_metadata_resolve),
(mxf_metadata_handle_tag), (mxf_metadata_class_init),
(mxf_metadata_init), (mxf_metadata_init_types),
(mxf_metadata_register), (mxf_metadata_new),
(mxf_metadata_preface_finalize), (mxf_metadata_preface_handle_tag),
(mxf_metadata_preface_resolve), (mxf_metadata_preface_init),
(mxf_metadata_preface_class_init),
(mxf_metadata_identification_finalize),
(mxf_metadata_identification_handle_tag),
(mxf_metadata_identification_init),
(mxf_metadata_identification_class_init),
(mxf_metadata_content_storage_finalize),
(mxf_metadata_content_storage_handle_tag),
(mxf_metadata_content_storage_resolve),
(mxf_metadata_content_storage_init),
(mxf_metadata_content_storage_class_init),
(mxf_metadata_essence_container_data_handle_tag),
(mxf_metadata_essence_container_data_resolve),
(mxf_metadata_essence_container_data_init),
(mxf_metadata_essence_container_data_class_init),
(mxf_metadata_generic_package_finalize),
(mxf_metadata_generic_package_handle_tag),
(mxf_metadata_generic_package_resolve),
(mxf_metadata_generic_package_init),
(mxf_metadata_generic_package_class_init),
(mxf_metadata_material_package_resolve),
(mxf_metadata_material_package_init),
(mxf_metadata_material_package_class_init),
(mxf_metadata_source_package_finalize),
(mxf_metadata_source_package_handle_tag),
(mxf_metadata_source_package_resolve),
(mxf_metadata_source_package_init),
(mxf_metadata_source_package_class_init),
(mxf_metadata_track_finalize), (mxf_metadata_track_handle_tag),
(mxf_metadata_track_resolve), (mxf_metadata_track_init),
(mxf_metadata_track_class_init),
(mxf_metadata_track_identifier_parse),
(mxf_metadata_timeline_track_handle_tag),
(mxf_metadata_timeline_track_init),
(mxf_metadata_timeline_track_class_init),
(mxf_metadata_event_track_handle_tag),
(mxf_metadata_event_track_init),
(mxf_metadata_event_track_class_init),
(mxf_metadata_static_track_init),
(mxf_metadata_static_track_class_init),
(mxf_metadata_sequence_finalize),
(mxf_metadata_sequence_handle_tag),
(mxf_metadata_sequence_resolve), (mxf_metadata_sequence_init),
(mxf_metadata_sequence_class_init),
(mxf_metadata_structural_component_handle_tag),
(mxf_metadata_structural_component_init),
(mxf_metadata_structural_component_class_init),
(mxf_metadata_timecode_component_handle_tag),
(mxf_metadata_timecode_component_init),
(mxf_metadata_timecode_component_class_init),
(mxf_metadata_source_clip_handle_tag),
(mxf_metadata_source_clip_resolve),
(mxf_metadata_source_clip_init),
(mxf_metadata_source_clip_class_init),
(mxf_metadata_dm_source_clip_finalize),
(mxf_metadata_dm_source_clip_handle_tag),
(mxf_metadata_dm_source_clip_init),
(mxf_metadata_dm_source_clip_class_init),
(mxf_metadata_dm_segment_finalize),
(mxf_metadata_dm_segment_handle_tag),
(mxf_metadata_dm_segment_resolve), (mxf_metadata_dm_segment_init),
(mxf_metadata_dm_segment_class_init),
(mxf_metadata_generic_descriptor_finalize),
(mxf_metadata_generic_descriptor_handle_tag),
(mxf_metadata_generic_descriptor_resolve),
(mxf_metadata_generic_descriptor_init),
(mxf_metadata_generic_descriptor_class_init),
(mxf_metadata_file_descriptor_handle_tag),
(mxf_metadata_file_descriptor_init),
(mxf_metadata_file_descriptor_class_init),
(mxf_metadata_generic_picture_essence_descriptor_handle_tag),
(mxf_metadata_generic_picture_essence_descriptor_init),
(mxf_metadata_generic_picture_essence_descriptor_class_init),
(mxf_metadata_generic_picture_essence_descriptor_set_caps),
(mxf_metadata_generic_sound_essence_descriptor_handle_tag),
(mxf_metadata_generic_sound_essence_descriptor_init),
(mxf_metadata_generic_sound_essence_descriptor_class_init),
(mxf_metadata_cdci_picture_essence_descriptor_handle_tag),
(mxf_metadata_cdci_picture_essence_descriptor_init),
(mxf_metadata_cdci_picture_essence_descriptor_class_init),
(mxf_metadata_rgba_picture_essence_descriptor_finalize),
(mxf_metadata_rgba_picture_essence_descriptor_handle_tag),
(mxf_metadata_rgba_picture_essence_descriptor_init),
(mxf_metadata_rgba_picture_essence_descriptor_class_init),
(mxf_metadata_generic_data_essence_descriptor_handle_tag),
(mxf_metadata_generic_data_essence_descriptor_init),
(mxf_metadata_generic_data_essence_descriptor_class_init),
(mxf_metadata_multiple_descriptor_finalize),
(mxf_metadata_multiple_descriptor_handle_tag),
(mxf_metadata_multiple_descriptor_resolve),
(mxf_metadata_multiple_descriptor_init),
(mxf_metadata_multiple_descriptor_class_init),
(mxf_metadata_locator_init), (mxf_metadata_locator_class_init),
(mxf_metadata_text_locator_finalize),
(mxf_metadata_text_locator_handle_tag),
(mxf_metadata_text_locator_init),
(mxf_metadata_text_locator_class_init),
(mxf_metadata_network_locator_finalize),
(mxf_metadata_network_locator_handle_tag),
(mxf_metadata_network_locator_init),
(mxf_metadata_network_locator_class_init):
* gst/mxf/mxfmetadata.h:
* gst/mxf/mxfmpeg.c:
(mxf_metadata_mpeg_video_descriptor_handle_tag),
(mxf_metadata_mpeg_video_descriptor_init),
(mxf_metadata_mpeg_video_descriptor_class_init),
(mxf_is_mpeg_essence_track), (mxf_mpeg_es_create_caps),
(mxf_mpeg_create_caps), (mxf_mpeg_init):
* gst/mxf/mxfmpeg.h:
* gst/mxf/mxfparse.c: (mxf_index_table_segment_parse),
(mxf_local_tag_add_to_hash_table):
* gst/mxf/mxfparse.h:
* gst/mxf/mxftypes.h:
* gst/mxf/mxfup.c: (mxf_is_up_essence_track), (mxf_up_create_caps),
(mxf_up_init):
* gst/mxf/mxfup.h:
Convert the structural metadata to GstMiniObjects to make a lot of
code easier and to make everything better extensible.
Add a "registry" for metadata handlers to improve extensibility even
more and to remove metadata type specifics from mxfdemux.
Clean up a lot of parts and add some more NULL checks.

15 years agoext/faac/gstfaac.c: Fix default for outputformat property.
Stefan Kost [Mon, 15 Dec 2008 15:56:18 +0000 (15:56 +0000)]
ext/faac/gstfaac.c: Fix default for outputformat property.

Original commit message from CVS:
* ext/faac/gstfaac.c:
Fix default for outputformat property.

15 years agoexamples/app/: Fix example to unref after emiting the push-buffer action.
Wim Taymans [Mon, 15 Dec 2008 12:02:26 +0000 (12:02 +0000)]
examples/app/: Fix example to unref after emiting the push-buffer action.

Original commit message from CVS:
* examples/app/appsrc-ra.c: (feed_data):
* examples/app/appsrc-seekable.c: (feed_data):
* examples/app/appsrc-stream.c: (read_data):
* examples/app/appsrc-stream2.c: (feed_data):
Fix example to unref after emiting the push-buffer action.
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_push_buffer_full), (gst_app_src_push_buffer),
(gst_app_src_push_buffer_action):
Don't take the ref on the buffer in push-buffer action because it's too
awkward for bindings. Fixes #564482.

15 years agom4/Makefile.am: More .m4 that aren't shipped with gettext 0.17 anymore.
Edward Hervey [Sat, 13 Dec 2008 16:26:39 +0000 (16:26 +0000)]
m4/Makefile.am: More .m4 that aren't shipped with gettext 0.17 anymore.

Original commit message from CVS:
* m4/Makefile.am:
More .m4 that aren't shipped with gettext 0.17 anymore.

15 years agom4/Makefile.am: inttypes.m4 hasn't been available since gettext-0.15, and since we...
Edward Hervey [Sat, 13 Dec 2008 13:00:10 +0000 (13:00 +0000)]
m4/Makefile.am: inttypes.m4 hasn't been available since gettext-0.15, and since we now require gettext >= 0.17 ... we...

Original commit message from CVS:
* m4/Makefile.am:
inttypes.m4 hasn't been available since gettext-0.15, and since we now
require gettext >= 0.17 ... we can remove it from the list of files to
dist.

15 years agogst/mxf/mxfdemux.c: Add a generic handler for descriptive metadata so we can get...
Sebastian Dröge [Sat, 13 Dec 2008 08:06:33 +0000 (08:06 +0000)]
gst/mxf/mxfdemux.c: Add a generic handler for descriptive metadata so we can get some debug output and let users file...

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_handle_descriptive_metadata),
(gst_mxf_demux_handle_klv_packet):
Add a generic handler for descriptive metadata so we can get some
debug output and let users file bugs for unsupport descriptive
metadata schemes.

15 years agogst/mxf/: Major update of the TODO lists. There's still much to do.
Sebastian Dröge [Fri, 12 Dec 2008 10:29:31 +0000 (10:29 +0000)]
gst/mxf/: Major update of the TODO lists. There's still much to do.

Original commit message from CVS:
* gst/mxf/mxfaes-bwf.c:
* gst/mxf/mxfalaw.c: (mxf_alaw_create_caps):
* gst/mxf/mxfdemux.c:
* gst/mxf/mxfdv-dif.c: (mxf_dv_dif_create_caps):
* gst/mxf/mxfjpeg2000.c:
* gst/mxf/mxfmpeg.c:
* gst/mxf/mxfup.c:
Major update of the TODO lists. There's still much to do.

15 years agogst/mxf/: Implement parsing of Event Tracks, Static Tracks, DM Segments and DM Source...
Sebastian Dröge [Thu, 11 Dec 2008 14:35:08 +0000 (14:35 +0000)]
gst/mxf/: Implement parsing of Event Tracks, Static Tracks, DM Segments and DM Source Clips as a preparation for desc...

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_handle_metadata_track),
(gst_mxf_demux_handle_header_metadata_resolve_references),
(gst_mxf_demux_handle_metadata):
* gst/mxf/mxfparse.c: (mxf_metadata_track_parse),
(mxf_metadata_structural_component_parse),
(mxf_metadata_structural_component_reset):
* gst/mxf/mxfparse.h:
* gst/mxf/mxftypes.h:
Implement parsing of Event Tracks, Static Tracks, DM Segments
and DM Source Clips as a preparation for descriptive metadata
support. Next step is to implement SMPTE S380M, "Descriptive
Metadata Scheme-1".

15 years agogst/mxf/mxfjpeg2000.c: Implement detection of the colorspace used by the
Sebastian Dröge [Tue, 9 Dec 2008 13:44:45 +0000 (13:44 +0000)]
gst/mxf/mxfjpeg2000.c: Implement detection of the colorspace used by the

Original commit message from CVS:
* gst/mxf/mxfjpeg2000.c: (mxf_jpeg2000_create_caps):
Implement detection of the colorspace used by the
JPEG2000 codestream. XYZ colorspace isn't supported by
our decoders yet unfortunately.

15 years agogst/mxf/mxfparse.c: All frame layout values except 0 are for interlaced video, not...
Sebastian Dröge [Mon, 8 Dec 2008 15:46:13 +0000 (15:46 +0000)]
gst/mxf/mxfparse.c: All frame layout values except 0 are for interlaced video, not only 1 and 2.

Original commit message from CVS:
* gst/mxf/mxfparse.c:
(mxf_metadata_generic_picture_essence_descriptor_set_caps):
All frame layout values except 0 are for interlaced video,
not only 1 and 2.

15 years agogst/mxf/: Remove the concept of "final" metadata, broken files have updated metadata...
Sebastian Dröge [Mon, 8 Dec 2008 15:28:58 +0000 (15:28 +0000)]
gst/mxf/: Remove the concept of "final" metadata, broken files have updated metadata in following partitions even if ...

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_reset_metadata),
(gst_mxf_demux_handle_primer_pack),
(gst_mxf_demux_handle_metadata_preface),
(gst_mxf_demux_handle_header_metadata_resolve_references),
(gst_mxf_demux_choose_package),
(gst_mxf_demux_handle_header_metadata_update_streams),
(gst_mxf_demux_parse_footer_metadata),
(gst_mxf_demux_handle_klv_packet):
* gst/mxf/mxfdemux.h:
* gst/mxf/mxftypes.h:
Remove the concept of "final" metadata, broken files have updated
metadata in following partitions even if the current partition
is closed and complete.
If there's a second primer pack inside a partition ignore the second
one instead of throwing an error.
Store the type of a track (audio, video, timestamp, ...) inside the
track struct.
Post no-more-pads only once for a stream and not a second time
when switching the currently playing package.
When updating all streams make sure that we could select and find
a package instead of dereferencing NULL.
Allow descriptive metadata inside metadata parts of a file when
pulling the footer metadata too.
Only switch the currently playing package if a new one was chosen
and the metadata is in a resolved state. If the latter isn't true
postpone the switch until the metadata is resolved.
Pull the footer metadata directly after parsing the header partition
pack if it's not closed or not complete instead of waiting until
the next KLV packet.

15 years agogst/mxf/mxfup.c: Don't create a subbuffer, instead just change the buffer metadata...
Sebastian Dröge [Mon, 8 Dec 2008 13:48:46 +0000 (13:48 +0000)]
gst/mxf/mxfup.c: Don't create a subbuffer, instead just change the buffer metadata of the input buffer.

Original commit message from CVS:
* gst/mxf/mxfup.c: (mxf_up_handle_essence_element):
Don't create a subbuffer, instead just change the buffer metadata
of the input buffer.

15 years agogst/mxf/mxfdemux.c: Rename GstMXFPad to GstMXFDemuxPad to prevent name clashes with...
Sebastian Dröge [Sun, 7 Dec 2008 20:12:33 +0000 (20:12 +0000)]
gst/mxf/mxfdemux.c: Rename GstMXFPad to GstMXFDemuxPad to prevent name clashes with the GstMXFMuxPad in the muxer (la...

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_pad_finalize),
(gst_mxf_demux_pad_class_init), (gst_mxf_demux_pad_init),
(gst_mxf_demux_remove_pad), (gst_mxf_demux_reset_metadata),
(gst_mxf_demux_combine_flows),
(gst_mxf_demux_handle_header_metadata_resolve_references),
(gst_mxf_demux_handle_header_metadata_update_streams),
(gst_mxf_demux_handle_generic_container_essence_element),
(gst_mxf_demux_pull_random_index_pack), (gst_mxf_demux_loop),
(gst_mxf_demux_src_query):
Rename GstMXFPad to GstMXFDemuxPad to prevent name clashes
with the GstMXFMuxPad in the muxer (later).
Pull the random index pack only directly after skipping the run
in and don't allocate an array for it if parsing it failed.

15 years agogst/mxf/mxfd10.c: Use the mapping data for storing the channel count and the width...
Sebastian Dröge [Sun, 7 Dec 2008 18:52:54 +0000 (18:52 +0000)]
gst/mxf/mxfd10.c: Use the mapping data for storing the channel count and the width instead of parsing caps for every ...

Original commit message from CVS:
* gst/mxf/mxfd10.c: (mxf_d10_sound_handle_essence_element),
(mxf_d10_create_caps):
Use the mapping data for storing the channel count and the
width instead of parsing caps for every buffer.

15 years agogst/mxf/mxfup.c: Handle the image start and end offsets, otherwise we output too...
Sebastian Dröge [Sun, 7 Dec 2008 18:39:41 +0000 (18:39 +0000)]
gst/mxf/mxfup.c: Handle the image start and end offsets, otherwise we output too large image buffers.

Original commit message from CVS:
* gst/mxf/mxfup.c: (mxf_up_handle_essence_element),
(mxf_up_rgba_create_caps):
Handle the image start and end offsets, otherwise we output
too large image buffers.

15 years agogst/mxf/mxfmpeg.c: Set codec name tags for the MPEG audio essence.
Sebastian Dröge [Sun, 7 Dec 2008 17:57:13 +0000 (17:57 +0000)]
gst/mxf/mxfmpeg.c: Set codec name tags for the MPEG audio essence.

Original commit message from CVS:
* gst/mxf/mxfmpeg.c: (mxf_mpeg_es_create_caps):
Set codec name tags for the MPEG audio essence.

15 years agogst/mxf/: Add initial support for uncompressed video essence (SMPTE S384M).
Sebastian Dröge [Sun, 7 Dec 2008 17:16:29 +0000 (17:16 +0000)]
gst/mxf/: Add initial support for uncompressed video essence (SMPTE S384M).

Original commit message from CVS:
* gst/mxf/Makefile.am:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_header_metadata_update_streams):
* gst/mxf/mxftypes.h:
* gst/mxf/mxfup.c: (mxf_is_up_essence_track),
(mxf_up_handle_essence_element), (mxf_up_rgba_create_caps),
(mxf_up_create_caps):
* gst/mxf/mxfup.h:
Add initial support for uncompressed video essence (SMPTE S384M).
* gst/mxf/mxfparse.c:
(mxf_metadata_rgba_picture_essence_descriptor_handle_tag),
(mxf_metadata_rgba_picture_essence_descriptor_reset):
Fix parsing of the RGBA descriptor and add support for parsing
the pixel layout.

15 years agogst/mxf/mxfdemux.c: The previous partition field of the partition is relative to...
Sebastian Dröge [Sat, 6 Dec 2008 20:46:46 +0000 (20:46 +0000)]
gst/mxf/mxfdemux.c: The previous partition field of the partition is relative to the current partition and not to the...

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_parse_footer_metadata):
The previous partition field of the partition is relative
to the current partition and not to the offset of the header
partition.

15 years agogst/mxf/mxfd10.c: Document decoding of the AES3 data and also skip the 32 bit header...
Sebastian Dröge [Sat, 6 Dec 2008 19:46:05 +0000 (19:46 +0000)]
gst/mxf/mxfd10.c: Document decoding of the AES3 data and also skip the 32 bit header in the beginning of every buffer...

Original commit message from CVS:
* gst/mxf/mxfd10.c: (mxf_d10_sound_handle_essence_element):
Document decoding of the AES3 data and also skip the 32 bit
header in the beginning of every buffer, otherwise we get
one broken audio channel.

15 years agogst/mxf/: Implement parsing of the generic data essence descriptor.
Sebastian Dröge [Fri, 5 Dec 2008 12:26:02 +0000 (12:26 +0000)]
gst/mxf/: Implement parsing of the generic data essence descriptor.

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_reset_metadata),
(gst_mxf_demux_handle_metadata_generic_data_essence_descriptor),
(gst_mxf_demux_handle_header_metadata_resolve_references),
(gst_mxf_demux_handle_metadata):
* gst/mxf/mxfdemux.h:
* gst/mxf/mxfparse.c:
(mxf_metadata_generic_data_essence_descriptor_handle_tag),
(mxf_metadata_generic_data_essence_descriptor_reset):
* gst/mxf/mxfparse.h:
* gst/mxf/mxftypes.h:
Implement parsing of the generic data essence descriptor.

15 years agogst/mxf/mxfdemux.c: Generalize some lines of codes that are more or less the same...
Sebastian Dröge [Fri, 5 Dec 2008 10:32:55 +0000 (10:32 +0000)]
gst/mxf/mxfdemux.c: Generalize some lines of codes that are more or less the same by a macro.

Original commit message from CVS:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_header_metadata_resolve_references):
Generalize some lines of codes that are more or less the same
by a macro.

15 years agoconfigure.ac: Apparently AC_CONFIG_MACRO_DIR breaks when using more than one macro...
Sebastian Dröge [Thu, 4 Dec 2008 20:11:17 +0000 (20:11 +0000)]
configure.ac: Apparently AC_CONFIG_MACRO_DIR breaks when using more than one macro directory, reverting last change.

Original commit message from CVS:
* configure.ac:
Apparently AC_CONFIG_MACRO_DIR breaks when using more
than one macro directory, reverting last change.

15 years agoconfigure.ac: Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to our M4 macros.
Sebastian Dröge [Thu, 4 Dec 2008 19:50:10 +0000 (19:50 +0000)]
configure.ac: Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to our M4 macros.

Original commit message from CVS:
* configure.ac:
Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
our M4 macros.

15 years agogst/selector/gstinputselector.c: Ensure we emit notify::active-pad when auto-selectin...
Michael Smith [Thu, 4 Dec 2008 17:51:37 +0000 (17:51 +0000)]
gst/selector/gstinputselector.c: Ensure we emit notify::active-pad when auto-selecting a pad due to it having activit...

Original commit message from CVS:
* gst/selector/gstinputselector.c:
Ensure we emit notify::active-pad when auto-selecting a pad
due to it having activity and us not having an existing active
pad. Fixes #563147

15 years agogst/mxf/: Coding style fixes.
Sebastian Dröge [Thu, 4 Dec 2008 13:28:45 +0000 (13:28 +0000)]
gst/mxf/: Coding style fixes.

Original commit message from CVS:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_header_metadata_resolve_references):
* gst/mxf/mxfdv-dif.c: (mxf_dv_dif_create_caps):
* gst/mxf/mxfjpeg2000.c: (mxf_jpeg2000_create_caps):
Coding style fixes.
* gst/mxf/mxfmpeg.c: (mxf_mpeg_audio_handle_essence_element),
(mxf_mpeg_es_create_caps), (mxf_mpeg_create_caps):
Add support for MPEG, AC3, DTS audio.

15 years agogst/mxf/mxfdemux.c: Ignore zero sized essence elements. They're often inserted to...
Sebastian Dröge [Thu, 4 Dec 2008 09:26:25 +0000 (09:26 +0000)]
gst/mxf/mxfdemux.c: Ignore zero sized essence elements. They're often inserted to fulfill the streaming requirements.

Original commit message from CVS:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_generic_container_essence_element):
Ignore zero sized essence elements. They're often inserted
to fulfill the streaming requirements.

15 years agogst/mxf/mxfparse.c: Fix setting of the height/width and PAR of video streams.
Sebastian Dröge [Thu, 4 Dec 2008 08:50:48 +0000 (08:50 +0000)]
gst/mxf/mxfparse.c: Fix setting of the height/width and PAR of video streams.

Original commit message from CVS:
* gst/mxf/mxfparse.c:
(mxf_metadata_generic_picture_essence_descriptor_set_caps):
Fix setting of the height/width and PAR of video streams.

15 years agogst/mxf/: Add support for SMPTE D10 essence (SMPTE 386M).
Sebastian Dröge [Thu, 4 Dec 2008 08:37:18 +0000 (08:37 +0000)]
gst/mxf/: Add support for SMPTE D10 essence (SMPTE 386M).

Original commit message from CVS:
* gst/mxf/Makefile.am:
* gst/mxf/mxfd10.c: (mxf_is_d10_essence_track),
(mxf_d10_picture_handle_essence_element),
(mxf_d10_sound_handle_essence_element), (mxf_d10_create_caps):
* gst/mxf/mxfd10.h:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_header_metadata_update_streams):
Add support for SMPTE D10 essence (SMPTE 386M).
* gst/mxf/mxfparse.c:
(mxf_metadata_generic_picture_essence_descriptor_set_caps):
Don't set width/height and PAR on the caps as those values are
wrong for most files (height is sometimes the height of a field
and aspect ratio is some random value).
* gst/mxf/mxfaes-bwf.c: (mxf_bwf_create_caps),
(mxf_aes3_create_caps):
Fix calculation of block align if it isn't set in the descriptor.

15 years agogst/mxf/: Add support for AES3 audio (SMPTE 382M).
Sebastian Dröge [Wed, 3 Dec 2008 16:08:28 +0000 (16:08 +0000)]
gst/mxf/: Add support for AES3 audio (SMPTE 382M).

Original commit message from CVS:
* gst/mxf/mxfaes-bwf.c:
(mxf_metadata_aes3_audio_essence_descriptor_handle_tag),
(mxf_metadata_aes3_audio_essence_descriptor_reset),
(mxf_aes3_handle_essence_element), (mxf_bwf_create_caps),
(mxf_aes3_create_caps), (mxf_aes_bwf_create_caps):
* gst/mxf/mxfaes-bwf.h:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_reset_metadata),
(gst_mxf_demux_handle_metadata_aes3_audio_essence_descriptor),
(gst_mxf_demux_handle_header_metadata_resolve_references),
(gst_mxf_demux_handle_metadata):
* gst/mxf/mxfdemux.h:
Add support for AES3 audio (SMPTE 382M).
* gst/mxf/mxfdv-dif.c: (mxf_dv_dif_create_caps):
* gst/mxf/mxfjpeg2000.c: (mxf_jpeg2000_create_caps):
Fix coding style.

15 years agogst/mxf/mxfdemux.c: Improve debugging a bit.
Sebastian Dröge [Wed, 3 Dec 2008 13:17:41 +0000 (13:17 +0000)]
gst/mxf/mxfdemux.c: Improve debugging a bit.

Original commit message from CVS:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_generic_container_essence_element):
Improve debugging a bit.

15 years agogst/flv/gstflvparse.c: Check if strings are valid UTF8 before using them.
Sebastian Dröge [Wed, 3 Dec 2008 11:43:00 +0000 (11:43 +0000)]
gst/flv/gstflvparse.c: Check if strings are valid UTF8 before using them.

Original commit message from CVS:
* gst/flv/gstflvparse.c: (FLV_GET_STRING):
Check if strings are valid UTF8 before using them.

15 years agogst/mxf/mxfparse.c: Remove FIXME, zero-ULs and UMIDs are really invalid and we can...
Sebastian Dröge [Wed, 3 Dec 2008 10:15:27 +0000 (10:15 +0000)]
gst/mxf/mxfparse.c: Remove FIXME, zero-ULs and UMIDs are really invalid and we can use them as "unset" value.

Original commit message from CVS:
* gst/mxf/mxfparse.c:
Remove FIXME, zero-ULs and UMIDs are really invalid and we can
use them as "unset" value.

15 years agogst/mxf/mxfdemux.c: Use a single "track_%u" src pad template and use the track ID...
Sebastian Dröge [Wed, 3 Dec 2008 08:04:38 +0000 (08:04 +0000)]
gst/mxf/mxfdemux.c: Use a single "track_%u" src pad template and use the track ID of the playback package for the pad...

Original commit message from CVS:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_header_metadata_update_streams),
(gst_mxf_demux_base_init):
Use a single "track_%u" src pad template and use the track ID
of the playback package for the pad name instead of the track ID
of the source package, as the latter could be the same for
more than one track if they're in different packages.

15 years agoext/jp2k/gstjasperenc.c: Some compilers complain about uninitialized variable; add...
David Schleef [Tue, 2 Dec 2008 06:21:21 +0000 (06:21 +0000)]
ext/jp2k/gstjasperenc.c: Some compilers complain about uninitialized variable; add a g_assert_not_reached()

Original commit message from CVS:
* ext/jp2k/gstjasperenc.c: Some compilers complain about
uninitialized variable; add a g_assert_not_reached()

15 years agogst-libs/gst/app/gstappsrc.c: Don't forget to release the lock again if we bail out...
이문형 [Mon, 1 Dec 2008 19:36:35 +0000 (19:36 +0000)]
gst-libs/gst/app/gstappsrc.c: Don't forget to release the lock again if we bail out because some pad is flushing or w...

Original commit message from CVS:
Patch by: 이문형 <iwings at gmail dot com>
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_push_buffer):
Don't forget to release the lock again if we bail out because some
pad is flushing or we've reached EOS, otherwise things will lock up
next time _push_buffer() is called (#562802).

15 years agogst/qtmux/atoms.c: Fix mj2 sample description metadata construction.
Mark Nauwelaerts [Mon, 1 Dec 2008 16:37:45 +0000 (16:37 +0000)]
gst/qtmux/atoms.c: Fix mj2 sample description metadata construction.

Original commit message from CVS:
* gst/qtmux/atoms.c: (build_jp2h_extension):
Fix mj2 sample description metadata construction.

15 years agogst/mxf/mxfjpeg2000.c: Use new image/x-jpc caps for the raw JPEG2000 codestream.
Sebastian Dröge [Mon, 1 Dec 2008 15:50:40 +0000 (15:50 +0000)]
gst/mxf/mxfjpeg2000.c: Use new image/x-jpc caps for the raw JPEG2000 codestream.

Original commit message from CVS:
* gst/mxf/mxfjpeg2000.c: (mxf_jpeg2000_create_caps):
Use new image/x-jpc caps for the raw JPEG2000 codestream.
For now assume sRGB as colorspace, has to be read from the descriptor
somehow later.

15 years agoext/jp2k/: Add image/x-jpc caps name for real, raw JPEG2000 codestream data.
Sebastian Dröge [Mon, 1 Dec 2008 15:48:13 +0000 (15:48 +0000)]
ext/jp2k/: Add image/x-jpc caps name for real, raw JPEG2000 codestream data.

Original commit message from CVS:
* ext/jp2k/gstjasperdec.c: (gst_jasper_dec_sink_setcaps):
* ext/jp2k/gstjasperenc.c: (gst_jasper_enc_reset),
(gst_jasper_enc_set_src_caps), (gst_jasper_enc_init_encoder),
(gst_jasper_enc_sink_setcaps), (gst_jasper_enc_get_data):
* ext/jp2k/gstjasperenc.h:
Add image/x-jpc caps name for real, raw JPEG2000 codestream data.
In 0.11 we should merge image/x-j2c and image/x-jpc and simply drop
the non-standard boxing in the jasper elements and handle it in
qtmux/qtdemux.
image/x-jpc will be used by mxfdemux later.
Also add support for JP2 output in jp2kenc.

15 years agogst/mxf/: Add the codec name, and if possible the avg bitrate, to the pad's taglist.
Sebastian Dröge [Mon, 1 Dec 2008 15:24:37 +0000 (15:24 +0000)]
gst/mxf/: Add the codec name, and if possible the avg bitrate, to the pad's taglist.

Original commit message from CVS:
* gst/mxf/mxfaes-bwf.c: (mxf_bwf_create_caps):
* gst/mxf/mxfalaw.c: (mxf_alaw_create_caps):
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_generic_container_essence_element):
* gst/mxf/mxfdv-dif.c: (mxf_dv_dif_create_caps):
* gst/mxf/mxfjpeg2000.c: (mxf_jpeg2000_create_caps):
* gst/mxf/mxfmpeg.c: (mxf_mpeg_es_create_caps),
(mxf_mpeg_create_caps):
Add the codec name, and if possible the avg bitrate, to the pad's taglist.

15 years agogst/mxf/mxfdemux.c: If the preface references a primary package use this as the defau...
Sebastian Dröge [Mon, 1 Dec 2008 14:25:19 +0000 (14:25 +0000)]
gst/mxf/mxfdemux.c: If the preface references a primary package use this as the default playback package unless one w...

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_choose_package):
If the preface references a primary package use this as the default
playback package unless one was specified by the "package" property.
If there's no preface primary package still try to use the first
material package.

15 years agogst/mxf/mxfdemux.c: If there's no descriptor for the track in the track's source...
Sebastian Dröge [Sun, 30 Nov 2008 17:58:32 +0000 (17:58 +0000)]
gst/mxf/mxfdemux.c: If there's no descriptor for the track in the track's source package and there's a single descrip...

Original commit message from CVS:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_header_metadata_resolve_references):
If there's no descriptor for the track in the track's source
package and there's a single descriptor without a linked track
assume that it belongs to this track.

15 years agogst/mxf/: Some random cleanup.
Sebastian Dröge [Sun, 30 Nov 2008 17:42:30 +0000 (17:42 +0000)]
gst/mxf/: Some random cleanup.

Original commit message from CVS:
* gst/mxf/mxfalaw.c: (mxf_is_alaw_essence_track):
* gst/mxf/mxfalaw.h:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_header_metadata_update_streams):
* gst/mxf/mxfjpeg2000.c: (mxf_is_jpeg2000_essence_track):
* gst/mxf/mxfjpeg2000.h:
* gst/mxf/mxfmpeg.c: (mxf_is_mpeg_essence_track),
(mxf_mpeg_es_create_caps), (mxf_mpeg_create_caps):
* gst/mxf/mxfmpeg.h:
Some random cleanup.

15 years agogst/mxf/: Add property to select the top-level source package or material package...
Sebastian Dröge [Sun, 30 Nov 2008 17:26:55 +0000 (17:26 +0000)]
gst/mxf/: Add property to select the top-level source package or material package that should be used for playback.

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_remove_pads),
(gst_mxf_demux_reset), (gst_mxf_demux_find_package),
(gst_mxf_demux_choose_package),
(gst_mxf_demux_handle_header_metadata_update_streams),
(gst_mxf_demux_handle_klv_packet), (gst_mxf_demux_set_property),
(gst_mxf_demux_get_property), (gst_mxf_demux_finalize),
(gst_mxf_demux_class_init):
* gst/mxf/mxfdemux.h:
* gst/mxf/mxfparse.c: (mxf_umid_from_string):
* gst/mxf/mxfparse.h:
Add property to select the top-level source package or material
package that should be used for playback.

15 years agogst/mxf/mxfdemux.c: Make sure that demux->offset has the correct value before calling...
Sebastian Dröge [Sun, 30 Nov 2008 16:21:42 +0000 (16:21 +0000)]
gst/mxf/mxfdemux.c: Make sure that demux->offset has the correct value before calling any gst_mxf_demux_handle_* func...

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_pull_random_index_pack):
Make sure that demux->offset has the correct value before
calling any gst_mxf_demux_handle_* functions.

15 years agogst/mxf/: Set the correct MPEG video version if possible and add support for MPEG4...
Sebastian Dröge [Sun, 30 Nov 2008 14:12:04 +0000 (14:12 +0000)]
gst/mxf/: Set the correct MPEG video version if possible and add support for MPEG4 video, including codec_data.

Original commit message from CVS:
* gst/mxf/mxfjpeg2000.c: (mxf_jpeg2000_create_caps):
* gst/mxf/mxfmpeg.c: (mxf_mpeg_video_create_caps):
Set the correct MPEG video version if possible and add support
for MPEG4 video, including codec_data.

15 years agogst/mxf/: Add initial support for JPEG2000 encoded video essence.
Sebastian Dröge [Sat, 29 Nov 2008 20:25:06 +0000 (20:25 +0000)]
gst/mxf/: Add initial support for JPEG2000 encoded video essence.

Original commit message from CVS:
* gst/mxf/Makefile.am:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_header_metadata_update_streams):
* gst/mxf/mxfjpeg2000.c: (mxf_is_jpeg2000_video_essence_track),
(mxf_jpeg2000_handle_essence_element), (mxf_jpeg2000_create_caps):
* gst/mxf/mxfjpeg2000.h:
Add initial support for JPEG2000 encoded video essence.
* gst/mxf/mxfparse.c:
(mxf_metadata_generic_picture_essence_descriptor_set_caps):
Set the framerate in the video caps.

15 years agoext/jp2k/gstjasperdec.c: Don't unref the element instance if we don't own a reference.
Sebastian Dröge [Sat, 29 Nov 2008 20:07:11 +0000 (20:07 +0000)]
ext/jp2k/gstjasperdec.c: Don't unref the element instance if we don't own a reference.

Original commit message from CVS:
* ext/jp2k/gstjasperdec.c: (gst_jasper_dec_sink_setcaps):
Don't unref the element instance if we don't own a reference.

15 years agoRequire gettext 0.17 because older versions don't mix with libtool 2.2. At build...
Sebastian Dröge [Sat, 29 Nov 2008 13:33:30 +0000 (13:33 +0000)]
Require gettext 0.17 because older versions don't mix with libtool 2.2. At build time an older gettext version will s...

Original commit message from CVS:
Patch by: Cygwin Ports maintainer
<yselkowitz at users dot sourceforge dot net>
* autogen.sh:
* configure.ac:
Require gettext 0.17 because older versions don't mix with libtool
2.2. At build time an older gettext version will still work.
Fixes bug #556091.

15 years agogst/mxf/mxfdemux.c: Only try to pull the random index pack at the end of file one...
Sebastian Dröge [Fri, 28 Nov 2008 18:55:01 +0000 (18:55 +0000)]
gst/mxf/mxfdemux.c: Only try to pull the random index pack at the end of file one time and not for every single packe...

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_pull_random_index_pack):
Only try to pull the random index pack at the end of file one time
and not for every single packet if it fails.

15 years agogst/mxf/: Add support for A-Law encoded audio essence (SMPTE 388M and 382M).
Sebastian Dröge [Fri, 28 Nov 2008 18:13:30 +0000 (18:13 +0000)]
gst/mxf/: Add support for A-Law encoded audio essence (SMPTE 388M and 382M).

Original commit message from CVS:
* gst/mxf/Makefile.am:
* gst/mxf/mxfaes-bwf.c: (mxf_bwf_create_caps):
* gst/mxf/mxfalaw.c: (mxf_is_alaw_audio_essence_track),
(mxf_alaw_handle_essence_element), (mxf_alaw_create_caps):
* gst/mxf/mxfalaw.h:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_header_metadata_update_streams):
Add support for A-Law encoded audio essence (SMPTE 388M and 382M).

15 years agoupdate spec file with latest changes
Christian Schaller [Fri, 28 Nov 2008 14:22:50 +0000 (14:22 +0000)]
update spec file with latest changes

Original commit message from CVS:
update spec file with latest changes

15 years agogst/mxf/: Implement parsing of index table segments, which will later be used for...
Sebastian Dröge [Fri, 28 Nov 2008 11:24:24 +0000 (11:24 +0000)]
gst/mxf/: Implement parsing of index table segments, which will later be used for seeking.

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_reset),
(gst_mxf_demux_handle_index_table_segment):
* gst/mxf/mxfdemux.h:
* gst/mxf/mxfparse.c: (mxf_index_table_segment_parse),
(mxf_index_table_segment_reset):
* gst/mxf/mxfparse.h:
* gst/mxf/mxftypes.h:
Implement parsing of index table segments, which will later be
used for seeking.

15 years agoUpdate audioresample documentation for the new element name.
Sebastian Dröge [Fri, 28 Nov 2008 09:49:56 +0000 (09:49 +0000)]
Update audioresample documentation for the new element name.

Original commit message from CVS:
* 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-amrwb.xml:
* docs/plugins/inspect/plugin-faac.xml:
* docs/plugins/inspect/plugin-ladspa.xml:
* docs/plugins/inspect/plugin-mpeg2enc.xml:
* docs/plugins/inspect/plugin-mplex.xml:
* docs/plugins/inspect/plugin-musepack.xml:
* docs/plugins/inspect/plugin-spcdec.xml:
* docs/plugins/inspect/plugin-x264.xml:
* docs/plugins/inspect/plugin-xvid.xml:
* gst/audioresample/gstaudioresample.c:
Update audioresample documentation for the new element name.

15 years agogst/audioresample/gstaudioresample.c: And now also update the debug category from...
Sebastian Dröge [Fri, 28 Nov 2008 08:37:32 +0000 (08:37 +0000)]
gst/audioresample/gstaudioresample.c: And now also update the debug category from audioresample to legacyresample.

Original commit message from CVS:
* gst/audioresample/gstaudioresample.c:
And now also update the debug category from audioresample
to legacyresample.

15 years agoconfigure.ac: Remove speexresample from the build system too.
Sebastian Dröge [Thu, 27 Nov 2008 19:27:04 +0000 (19:27 +0000)]
configure.ac: Remove speexresample from the build system too.

Original commit message from CVS:
* configure.ac:
Remove speexresample from the build system too.

15 years agoRemove old speexresample files.
Sebastian Dröge [Thu, 27 Nov 2008 19:22:42 +0000 (19:22 +0000)]
Remove old speexresample files.

Original commit message from CVS:
* gst/speexresample/Makefile.am:
* gst/speexresample/README:
* gst/speexresample/arch.h:
* gst/speexresample/fixed_arm4.h:
* gst/speexresample/fixed_arm5e.h:
* gst/speexresample/fixed_bfin.h:
* gst/speexresample/fixed_debug.h:
* gst/speexresample/fixed_generic.h:
* gst/speexresample/gstspeexresample.c:
* gst/speexresample/gstspeexresample.h:
* gst/speexresample/resample.c:
* gst/speexresample/resample_sse.h:
* gst/speexresample/speex_resampler.h:
* gst/speexresample/speex_resampler_double.c:
* gst/speexresample/speex_resampler_float.c:
* gst/speexresample/speex_resampler_int.c:
* gst/speexresample/speex_resampler_wrapper.h:
* tests/check/elements/speexresample.c:
Remove old speexresample files.

15 years agodocs/plugins/inspect/plugin-speexresample.xml: Remove old file.
Sebastian Dröge [Thu, 27 Nov 2008 17:07:43 +0000 (17:07 +0000)]
docs/plugins/inspect/plugin-speexresample.xml: Remove old file.

Original commit message from CVS:
* docs/plugins/inspect/plugin-speexresample.xml:
Remove old file.

15 years agodocs/plugins/inspect/plugin-legacyresample.xml: Add missing file.
Sebastian Dröge [Thu, 27 Nov 2008 17:06:43 +0000 (17:06 +0000)]
docs/plugins/inspect/plugin-legacyresample.xml: Add missing file.

Original commit message from CVS:
* docs/plugins/inspect/plugin-legacyresample.xml:
Add missing file.

15 years agoIntegrate the moved audioresample into the build system and rename it to legacyresamp...
Sebastian Dröge [Thu, 27 Nov 2008 16:58:31 +0000 (16:58 +0000)]
Integrate the moved audioresample into the build system and rename it to legacyresample. Fixes bug #558124.

Original commit message from CVS:
* 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-aacparse.xml:
* docs/plugins/inspect/plugin-alsaspdif.xml:
* docs/plugins/inspect/plugin-amrparse.xml:
* docs/plugins/inspect/plugin-app.xml:
* docs/plugins/inspect/plugin-bayer.xml:
* docs/plugins/inspect/plugin-bz2.xml:
* docs/plugins/inspect/plugin-cdaudio.xml:
* docs/plugins/inspect/plugin-cdxaparse.xml:
* docs/plugins/inspect/plugin-celt.xml:
* docs/plugins/inspect/plugin-dccp.xml:
* docs/plugins/inspect/plugin-dfbvideosink.xml:
* docs/plugins/inspect/plugin-dtsdec.xml:
* docs/plugins/inspect/plugin-dvb.xml:
* docs/plugins/inspect/plugin-dvdspu.xml:
* docs/plugins/inspect/plugin-faad.xml:
* docs/plugins/inspect/plugin-fbdevsink.xml:
* docs/plugins/inspect/plugin-festival.xml:
* docs/plugins/inspect/plugin-filter.xml:
* docs/plugins/inspect/plugin-freeze.xml:
* docs/plugins/inspect/plugin-gsm.xml:
* docs/plugins/inspect/plugin-gstinterlace.xml:
* docs/plugins/inspect/plugin-gstrtpmanager.xml:
* docs/plugins/inspect/plugin-h264parse.xml:
* docs/plugins/inspect/plugin-jack.xml:
* docs/plugins/inspect/plugin-ladspa.xml:
* docs/plugins/inspect/plugin-metadata.xml:
* docs/plugins/inspect/plugin-mms.xml:
* docs/plugins/inspect/plugin-modplug.xml:
* docs/plugins/inspect/plugin-mpeg4videoparse.xml:
* docs/plugins/inspect/plugin-mpegvideoparse.xml:
* docs/plugins/inspect/plugin-musepack.xml:
* docs/plugins/inspect/plugin-musicbrainz.xml:
* docs/plugins/inspect/plugin-mve.xml:
* docs/plugins/inspect/plugin-mythtv.xml:
* docs/plugins/inspect/plugin-nas.xml:
* docs/plugins/inspect/plugin-neon.xml:
* docs/plugins/inspect/plugin-nsfdec.xml:
* docs/plugins/inspect/plugin-nuvdemux.xml:
* docs/plugins/inspect/plugin-oss4.xml:
* docs/plugins/inspect/plugin-rawparse.xml:
* docs/plugins/inspect/plugin-real.xml:
* docs/plugins/inspect/plugin-rfbsrc.xml:
* docs/plugins/inspect/plugin-scaletempo.xml:
* docs/plugins/inspect/plugin-sdl.xml:
* docs/plugins/inspect/plugin-sdp.xml:
* docs/plugins/inspect/plugin-selector.xml:
* docs/plugins/inspect/plugin-sndfile.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-speed.xml:
* docs/plugins/inspect/plugin-speexresample.xml:
* docs/plugins/inspect/plugin-stereo.xml:
* docs/plugins/inspect/plugin-subenc.xml:
* docs/plugins/inspect/plugin-tta.xml:
* docs/plugins/inspect/plugin-twolame.xml:
* docs/plugins/inspect/plugin-vcdsrc.xml:
* docs/plugins/inspect/plugin-videosignal.xml:
* docs/plugins/inspect/plugin-vmnc.xml:
* docs/plugins/inspect/plugin-wildmidi.xml:
* docs/plugins/inspect/plugin-y4menc.xml:
* gst/audioresample/gstaudioresample.c: (plugin_init):
* gst/audioresample/Makefile.am:
* tests/check/Makefile.am:
* tests/check/elements/audioresample.c: (setup_audioresample),
(GST_START_TEST):
Integrate the moved audioresample into the build system and
rename it to legacyresample. Fixes bug #558124.

15 years agogst/mxf/: Implement parsing of the random index pack, which provides a seek table...
Sebastian Dröge [Thu, 27 Nov 2008 16:26:39 +0000 (16:26 +0000)]
gst/mxf/: Implement parsing of the random index pack, which provides a seek table (including body sid) to the start o...

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_reset),
(gst_mxf_demux_handle_random_index_pack),
(gst_mxf_demux_pull_random_index_pack), (gst_mxf_demux_loop):
* gst/mxf/mxfdemux.h:
* gst/mxf/mxfparse.c: (mxf_random_index_pack_parse):
* gst/mxf/mxfparse.h:
* gst/mxf/mxftypes.h:
Implement parsing of the random index pack, which provides a seek
table (including body sid) to the start of partition packs.
Later this will be used for reading all index table segments of
the complete file efficiently.

15 years agogst/mxf/: Add fundamental support for DV-DIF essence streams.
Sebastian Dröge [Thu, 27 Nov 2008 10:09:53 +0000 (10:09 +0000)]
gst/mxf/: Add fundamental support for DV-DIF essence streams.

Original commit message from CVS:
* gst/mxf/Makefile.am:
* gst/mxf/mxfdemux.c:
(gst_mxf_demux_handle_header_metadata_update_streams),
(gst_mxf_demux_handle_klv_packet):
* gst/mxf/mxfdv-dif.c: (mxf_is_dv_dif_essence_track),
(mxf_dv_dif_handle_essence_element), (mxf_dv_dif_create_caps):
* gst/mxf/mxfdv-dif.h:
* gst/mxf/mxfparse.c: (mxf_is_descriptive_metadata):
* gst/mxf/mxfparse.h:
Add fundamental support for DV-DIF essence streams.
Handle descriptive metadata packets as metadata packets.

15 years agogst/mxf/mxfdemux.*: Only try to pull the footer metadata once and not on every KLV...
Sebastian Dröge [Thu, 27 Nov 2008 08:49:08 +0000 (08:49 +0000)]
gst/mxf/mxfdemux.*: Only try to pull the footer metadata once and not on every KLV packet if it failed before.

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_demux_reset),
(gst_mxf_demux_handle_klv_packet):
* gst/mxf/mxfdemux.h:
Only try to pull the footer metadata once and not on every KLV packet
if it failed before.

15 years agogst/rtpmanager/rtpsession.c: Make obtain_source return an aditional ref so that we...
Wim Taymans [Wed, 26 Nov 2008 12:40:18 +0000 (12:40 +0000)]
gst/rtpmanager/rtpsession.c: Make obtain_source return an aditional ref so that we don't lose our ref to it when a se...

Original commit message from CVS:
* gst/rtpmanager/rtpsession.c: (obtain_source),
(rtp_session_create_source), (rtp_session_process_rtp),
(rtp_session_process_sr), (rtp_session_process_rr),
(rtp_session_process_sdes), (rtp_session_process_bye):
Make obtain_source return an aditional ref so that we don't lose our ref
to it when a session cleanup occurs when we are emiting a signal.
Emit the on_new_ssrc signal for the CSRC, not the SSRC.
Fixes #562319.

15 years agogst/rtpmanager/gstrtpbin.c: Reset the sync parameters when clearing the payload type...
Wim Taymans [Wed, 26 Nov 2008 12:02:21 +0000 (12:02 +0000)]
gst/rtpmanager/gstrtpbin.c: Reset the sync parameters when clearing the payload type map too.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_reset_sync),
(gst_rtp_bin_clear_pt_map):
Reset the sync parameters when clearing the payload type map too.
Fixes #562312.

15 years agogst/rtpmanager/gstrtpbin.*: Remove a lot of per stream state that is not needed and...
Wim Taymans [Wed, 26 Nov 2008 11:44:37 +0000 (11:44 +0000)]
gst/rtpmanager/gstrtpbin.*: Remove a lot of per stream state that is not needed and pass new info in the method call.

Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (get_client),
(gst_rtp_bin_reset_sync), (gst_rtp_bin_associate),
(gst_rtp_bin_handle_sync), (create_stream),
(gst_rtp_bin_class_init), (new_ssrc_pad_found):
* gst/rtpmanager/gstrtpbin.h:
Remove a lot of per stream state that is not needed and pass new info in
the method call.
Add signal to reset sync parameters.
Avoid parsing the caps to get a clock_base, we get this from the sync
signal now.

15 years agogst/mxf/mxfdemux.c: Properly combine flow returns of the source pads.
Sebastian Dröge [Wed, 26 Nov 2008 11:30:28 +0000 (11:30 +0000)]
gst/mxf/mxfdemux.c: Properly combine flow returns of the source pads.

Original commit message from CVS:
* gst/mxf/mxfdemux.c: (gst_mxf_pad_init),
(gst_mxf_demux_reset_metadata), (gst_mxf_demux_combine_flows),
(gst_mxf_demux_handle_generic_container_essence_element):
Properly combine flow returns of the source pads.
Improve debugging and reset pad fields together with the
metadata to prevent invalid memory references.
* gst/mxf/mxfparse.c: (mxf_metadata_preface_parse):
Fix typo.

15 years agogst/mxf/: When memset'ing the descriptors to zeroes only touch the part of this descr...
Sebastian Dröge [Wed, 26 Nov 2008 10:37:34 +0000 (10:37 +0000)]
gst/mxf/: When memset'ing the descriptors to zeroes only touch the part of this descriptor, not it's parent type.

Original commit message from CVS:
* gst/mxf/mxfaes-bwf.c:
(mxf_metadata_wave_audio_essence_descriptor_reset):
* gst/mxf/mxfmpeg.c: (mxf_metadata_mpeg_video_descriptor_reset):
* gst/mxf/mxfparse.c: (mxf_metadata_file_descriptor_handle_tag),
(mxf_metadata_file_descriptor_reset),
(mxf_metadata_generic_sound_essence_descriptor_reset),
(mxf_metadata_generic_picture_essence_descriptor_reset),
(mxf_metadata_cdci_picture_essence_descriptor_reset),
(mxf_metadata_rgba_picture_essence_descriptor_reset),
(mxf_metadata_multiple_descriptor_reset):
* gst/mxf/mxfparse.h:
When memset'ing the descriptors to zeroes only touch the part
of this descriptor, not it's parent type.
Set correct default values for all metadata fields.

15 years agogst/mpegdemux/gstmpegtsdemux.*: Enable latency code, since we're definitely after...
David Schleef [Wed, 26 Nov 2008 04:57:22 +0000 (04:57 +0000)]
gst/mpegdemux/gstmpegtsdemux.*: Enable latency code, since we're definitely after 0.10.12

Original commit message from CVS:
* gst/mpegdemux/gstmpegtsdemux.c:
* gst/mpegdemux/gstmpegtsdemux.h:
Enable latency code, since we're definitely after 0.10.12