1. 05 Jan, 2009 5 commits
    • vanista's avatar
      gst/mpegtsmux/: Improve muxing of AC3/h264 streams a bit. Fixes bug #550613. · 751555b5
      vanista authored
      Original commit message from CVS:
      Patch by: vanista <vanista at gmail dot com>
      * gst/mpegtsmux/mpegtsmux.c: (mpegtsmux_create_stream):
      * gst/mpegtsmux/tsmux/tsmux.c: (tsmux_write_pmt):
      * gst/mpegtsmux/tsmux/tsmuxstream.c: (tsmux_stream_new),
      (tsmux_stream_write_pes_header), (tsmux_stream_get_es_descrs):
      * gst/mpegtsmux/tsmux/tsmuxstream.h:
      Improve muxing of AC3/h264 streams a bit. Fixes bug #550613.
      751555b5
    • Sebastian Dröge's avatar
      gst/mxf/mxfdemux.c: Don't allow negative or zero edit rates to prevent... · caa83490
      Sebastian Dröge authored
      gst/mxf/mxfdemux.c: Don't allow negative or zero edit rates to prevent division by zero and we support negative edit ...
      
      Original commit message from CVS:
      * gst/mxf/mxfdemux.c:
      (gst_mxf_demux_handle_header_metadata_update_streams),
      (gst_mxf_demux_pad_next_component):
      Don't allow negative or zero edit rates to prevent division
      by zero and we support negative edit rates anyway.
      caa83490
    • Mark Nauwelaerts's avatar
      ext/x264/gstx264enc.c: Use hyphen in property name, perform safety buffer size... · b5f61341
      Mark Nauwelaerts authored
      ext/x264/gstx264enc.c: Use hyphen in property name, perform safety buffer size check prior to mem access, and some mo...
      
      Original commit message from CVS:
      * ext/x264/gstx264enc.c: (gst_x264_enc_class_init),
      (gst_x264_enc_header_buf), (gst_x264_enc_encode_frame):
      Use hyphen in property name, perform safety buffer size check
      prior to mem access, and some more parentheses in macro.
      b5f61341
    • Sebastian Dröge's avatar
      gst/mxf/: Fix compilation with debugging disabled. · 8fcdca99
      Sebastian Dröge authored
      Original commit message from CVS:
      * gst/mxf/mxfaes-bwf.c:
      (mxf_metadata_wave_audio_essence_descriptor_handle_tag),
      (mxf_bwf_create_caps):
      * gst/mxf/mxfdemux.c: (gst_mxf_demux_handle_klv_packet):
      * gst/mxf/mxfmetadata.c: (mxf_metadata_handle_tag),
      (mxf_metadata_preface_handle_tag),
      (mxf_metadata_identification_handle_tag),
      (mxf_metadata_content_storage_handle_tag),
      (mxf_metadata_essence_container_data_handle_tag),
      (mxf_metadata_generic_package_handle_tag),
      (mxf_metadata_source_package_handle_tag),
      (mxf_metadata_track_handle_tag),
      (mxf_metadata_sequence_handle_tag),
      (mxf_metadata_structural_component_handle_tag),
      (mxf_metadata_source_clip_handle_tag),
      (mxf_metadata_dm_segment_handle_tag),
      (mxf_metadata_generic_descriptor_handle_tag),
      (mxf_metadata_file_descriptor_handle_tag),
      (mxf_metadata_generic_picture_essence_descriptor_handle_tag),
      (mxf_metadata_generic_sound_essence_descriptor_handle_tag),
      (mxf_metadata_generic_data_essence_descriptor_handle_tag),
      (mxf_metadata_multiple_descriptor_handle_tag):
      * gst/mxf/mxfparse.c: (mxf_partition_pack_parse),
      (mxf_index_table_segment_parse), (mxf_primer_pack_parse),
      (mxf_local_tag_add_to_hash_table):
      Fix compilation with debugging disabled.
      8fcdca99
    • Mark Nauwelaerts's avatar
      configure.ac: Also mention jp2kenc as a jp2k plugin feature. · 6a44cf9c
      Mark Nauwelaerts authored
      Original commit message from CVS:
      * configure.ac:
      Also mention jp2kenc as a jp2k plugin feature.
      6a44cf9c
  2. 04 Jan, 2009 1 commit
    • Sebastian Pölsterl's avatar
      sys/dvb/dvbbasebin.c: Fix some memory leaks. Fixes bug #566356. · 53514d53
      Sebastian Pölsterl authored
      Original commit message from CVS:
      Patch by: Sebastian Pölsterl <sebp at k-d-w dot org>
      * sys/dvb/dvbbasebin.c: (dvb_base_bin_init),
      (dvb_base_bin_finalize), (dvb_base_bin_activate_program),
      (dvb_base_bin_pmt_info_cb), (dvb_base_bin_pad_added_cb),
      (dvb_base_bin_program_destroy):
      Fix some memory leaks. Fixes bug #566356.
      53514d53
  3. 02 Jan, 2009 5 commits
  4. 31 Dec, 2008 1 commit
    • Sebastian Dröge's avatar
      Implement support for OP2a/b/c and OP3a/b/c, i.e. tracks with more than a... · 71fc2ce3
      Sebastian Dröge authored
      Implement support for OP2a/b/c and OP3a/b/c, i.e. tracks with more than a single component. This currently only works...
      
      Original commit message from CVS:
      * gst/mxf/mxfaes-bwf.c: (mxf_bwf_handle_essence_element),
      (mxf_aes3_handle_essence_element):
      * gst/mxf/mxfalaw.c: (mxf_alaw_handle_essence_element):
      * gst/mxf/mxfd10.c: (mxf_d10_picture_handle_essence_element),
      (mxf_d10_sound_handle_essence_element):
      * gst/mxf/mxfdemux.c: (gst_mxf_demux_pad_init),
      (gst_mxf_demux_choose_package),
      (gst_mxf_demux_handle_header_metadata_update_streams),
      (gst_mxf_demux_pad_next_component),
      (gst_mxf_demux_handle_generic_container_essence_element),
      (gst_mxf_demux_parse_footer_metadata),
      (gst_mxf_demux_handle_klv_packet), (gst_mxf_demux_src_query):
      * gst/mxf/mxfdv-dif.c: (mxf_dv_dif_handle_essence_element):
      * gst/mxf/mxfjpeg2000.c: (mxf_jpeg2000_handle_essence_element):
      * gst/mxf/mxfmetadata.c: (mxf_metadata_sequence_init),
      (mxf_metadata_structural_component_init),
      (mxf_metadata_generic_picture_essence_descriptor_init):
      * gst/mxf/mxfmpeg.c: (mxf_mpeg_video_handle_essence_element),
      (mxf_mpeg_audio_handle_essence_element):
      * gst/mxf/mxfparse.h:
      * gst/mxf/mxfup.c: (mxf_up_handle_essence_element):
      * gst/mxf/mxfvc3.c: (mxf_vc3_handle_essence_element):
      * tests/check/elements/mxfdemux.c: (_sink_chain):
      Implement support for OP2a/b/c and OP3a/b/c, i.e. tracks with
      more than a single component. This currently only works for
      the case where the components are stored in playback order
      in the file.
      Set some more default/distinguished values for the structural
      metadata.
      Make some types more strict by choosing the correct subclasses.
      Set DISCONT flag on buffers after a component switch.
      Take the last partition from the random index pack for the footer
      partition of the header partition doesn't reference the footer
      partition. This gives us the final structural metadata for
      some more files in the beginning.
      71fc2ce3
  5. 29 Dec, 2008 10 commits
    • Wim Taymans's avatar
      gst/mpegdemux/gstmpegdemux.c: Use the adjusted SCR for calculating the mux rate. · 679c4b99
      Wim Taymans authored
      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.
      679c4b99
    • Wim Taymans's avatar
      gst/mpegdemux/gstmpegdemux.*: The position member in the newsegment event... · 32a2faa5
      Wim Taymans authored
      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.
      32a2faa5
    • Robin Stocker's avatar
      gst/mpegdemux/gstmpegdemux.c: Converting from time to bytes operates on the... · 95130695
      Robin Stocker authored
      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.
      95130695
    • Wim Taymans's avatar
      gst-libs/gst/app/gstappsrc.*: Add properties and methods to configure and... · f1814feb
      Wim Taymans authored
      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.
      f1814feb
    • Sebastian Pölsterl's avatar
      gst/mpegdemux/mpegtspacketizer.c: Fix memleak. Fixes #565614. · 21b795ef
      Sebastian Pölsterl authored
      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.
      21b795ef
    • Sebastian Pölsterl's avatar
      gst/mpegdemux/mpegtspacketizer.c: Add a scrambled field to the service... · b4152f73
      Sebastian Pölsterl authored
      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.
      b4152f73
    • Damien Lespiau's avatar
      gst/pcapparse/: Patch to make gstpcapparse compile with mingw32 gcc. Fixes #565439. · 52b0e401
      Damien Lespiau authored
      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.
      52b0e401
    • Wim Taymans's avatar
      gst/rtpmanager/gstrtpsession.c: Use method to get the internal SSRC. · 231fcedd
      Wim Taymans authored
      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.
      231fcedd
    • Wim Taymans's avatar
      gst/rtpmanager/rtpsession.c: Only change the SSRC of the session and reset the... · 0199de83
      Wim Taymans authored
      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.
      0199de83
    • Wim Taymans's avatar
      gst/rtpmanager/rtpsource.*: When no payload was specified on the caps but... · b4a20d3a
      Wim Taymans authored
      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.
      b4a20d3a
  6. 23 Dec, 2008 4 commits
  7. 22 Dec, 2008 3 commits
  8. 19 Dec, 2008 3 commits
    • Mark Nauwelaerts's avatar
      gst/qtmux/gstqtmux.c: Do not tempt or suggest to violate gst_collect_pads API specification. · f8ae7724
      Mark Nauwelaerts authored
      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.
      f8ae7724
    • Mark Nauwelaerts's avatar
      gst/qtmux/: Dual license qtmux LGPL/MIT. Fixes #564232. · eddaf313
      Mark Nauwelaerts authored
      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.
      eddaf313
    • Sebastian Dröge's avatar
      gst/mxf/: Add mxf_metadata_generic_sound_essence_descriptor_set_caps() to set... · 083d8c70
      Sebastian Dröge authored
      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?).
      083d8c70
  9. 18 Dec, 2008 1 commit
    • Sebastian Dröge's avatar
      gst/mxf/: Add support for VC-3 (aka DNxHD essence, see SMPTE 2019-4). · ecc0e922
      Sebastian Dröge authored
      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.
      ecc0e922
  10. 17 Dec, 2008 2 commits
    • Wim Taymans's avatar
      Add appsrc and appsink documentation. · 59c80c9a
      Wim Taymans authored
      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.
      59c80c9a
    • Sebastian Dröge's avatar
      gst/mxf/mxfdemux.c: In push mode skip the run in again if we get buffers with... · b050e061
      Sebastian Dröge authored
      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.
      b050e061
  11. 16 Dec, 2008 5 commits
    • Stefan Kost's avatar
      Totally remove the internal taglists and fully use tagsetter. Fixes various tag muxing issues. · 1ea02b7a
      Stefan Kost authored
      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.
      1ea02b7a
    • Sebastian Dröge's avatar
      tests/check/elements/mxfdemux.c: Increase the timeout to 3 minutes to prevent timeouts. · da7ea42f
      Sebastian Dröge authored
      Original commit message from CVS:
      * tests/check/elements/mxfdemux.c: (mxfdemux_suite):
      Increase the timeout to 3 minutes to prevent timeouts.
      da7ea42f
    • Sebastian Dröge's avatar
      tests/check/elements/mxfdemux.*: Make sure the main loop is already running... · f6a5f4fa
      Sebastian Dröge authored
      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.
      f6a5f4fa
    • Sebastian Dröge's avatar
      gst/mxf/: Implement an essence element handling registry and use this instead... · 5587f912
      Sebastian Dröge authored
      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.
      5587f912
    • Edward Hervey's avatar
      tests/check/Makefile.am: Blacklist rfbsrc from the state change test. · 2bdd84b4
      Edward Hervey authored
      Original commit message from CVS:
      * tests/check/Makefile.am:
      Blacklist rfbsrc from the state change test.
      2bdd84b4