platform/upstream/gstreamer.git
15 years agoImprove EOS logic to only go into EOS after all tracks are finished
Sebastian Dröge [Thu, 29 Jan 2009 14:39:40 +0000 (15:39 +0100)]
Improve EOS logic to only go into EOS after all tracks are finished

15 years agoUpdate TODO list
Sebastian Dröge [Wed, 28 Jan 2009 16:34:57 +0000 (17:34 +0100)]
Update TODO list

15 years agoTry to keep the timestamp difference between tracks lower than 500ms
Sebastian Dröge [Wed, 28 Jan 2009 15:39:30 +0000 (16:39 +0100)]
Try to keep the timestamp difference between tracks lower than 500ms

15 years agoFix playback of atom files
Sebastian Dröge [Tue, 27 Jan 2009 14:36:53 +0000 (15:36 +0100)]
Fix playback of atom files

15 years agoKeep track of current playback position
Sebastian Dröge [Tue, 27 Jan 2009 14:27:45 +0000 (15:27 +0100)]
Keep track of current playback position

15 years agoSet essence track positions to 0 if we're at the start partition
Sebastian Dröge [Tue, 27 Jan 2009 13:38:30 +0000 (14:38 +0100)]
Set essence track positions to 0 if we're at the start partition

15 years agoGenerate an index table for essence streams
Sebastian Dröge [Tue, 27 Jan 2009 13:25:26 +0000 (14:25 +0100)]
Generate an index table for essence streams

Generate an index table for essence streams during playback
and make sure that only the correct essence elements are
used for played tracks.

Make it possible to have one essence stream used in multiple
playback tracks.

Fix some minor bugs.

15 years agoDon't complain if the preface has no primary package set
Sebastian Dröge [Tue, 27 Jan 2009 13:23:03 +0000 (14:23 +0100)]
Don't complain if the preface has no primary package set

15 years agoAllow index table segments without primer pack
Sebastian Dröge [Mon, 26 Jan 2009 15:23:38 +0000 (16:23 +0100)]
Allow index table segments without primer pack

When parsing an index table segment without a valid
primer pack in this partition only parse the static
local tags and ignore all dynamic ones.

This allows us to use index table segments in some
broken files.

15 years agoAdd essence track abstraction
Sebastian Dröge [Mon, 26 Jan 2009 15:20:34 +0000 (16:20 +0100)]
Add essence track abstraction

Add an abstraction to represent essence tracks and
use this everywhere. This will later be used to keep
track of positions and to generate/handle seek tables.

Some random cleanup and renaming.

15 years agoFix parsing of index table segments
Sebastian Dröge [Mon, 26 Jan 2009 13:47:31 +0000 (14:47 +0100)]
Fix parsing of index table segments

Allocate memory for the pos tables and slice offsets
of the index entries separately to a) fix alignment in
weird cases and b) to actually have something to free()
in the index table segment reset function.

15 years agoImprove detection of the end of the header metadata
Sebastian Dröge [Mon, 26 Jan 2009 13:33:02 +0000 (14:33 +0100)]
Improve detection of the end of the header metadata

Header metadata is finished after partition.header_byte_count
bytes after the first byte of the primer pack are handled.
After this there can only be index table segments, filler packets,
essence or the start of the next partition.

This fixes playback of some files that have non-standard metadata
packets in the header metadata.

15 years agoUnref event if we don't forward it, unref pads when done with them.
Michael Smith [Sat, 31 Jan 2009 02:27:03 +0000 (18:27 -0800)]
Unref event if we don't forward it, unref pads when done with them.

15 years agoAdd releaseinfo with online url.
Stefan Kost [Fri, 30 Jan 2009 20:28:11 +0000 (22:28 +0200)]
Add releaseinfo with online url.

15 years agoFix compilation on Forte.
Jan Schmidt [Fri, 30 Jan 2009 18:20:17 +0000 (18:20 +0000)]
Fix compilation on Forte.

Dereference the pointer to the passed socket to check the actual fd
when closing them.
Cast an assignment to kill a warning.

15 years agoFix the return value of the default parse_frame function.
Jan Schmidt [Fri, 30 Jan 2009 18:18:10 +0000 (18:18 +0000)]
Fix the return value of the default parse_frame function.

Fix the return value of the default parse_frame function in both
copies of GstBaseParse

15 years agoBump common
Jan Schmidt [Fri, 30 Jan 2009 17:31:33 +0000 (17:31 +0000)]
Bump common

15 years agoUse a symbolic link for the pre-commit client-side hook
Edward Hervey [Fri, 30 Jan 2009 07:54:42 +0000 (08:54 +0100)]
Use a symbolic link for the pre-commit client-side hook

15 years agoqtwrapper: Fixes build at case sensitive systems.
Thiago Sousa Santos [Thu, 29 Jan 2009 19:59:35 +0000 (17:59 -0200)]
qtwrapper: Fixes build at case sensitive systems.

15 years agompegdemux: do not skip pes packets that we think are encrypted
Josep Torra [Wed, 28 Jan 2009 12:41:36 +0000 (12:41 +0000)]
mpegdemux: do not skip pes packets that we think are encrypted

pes packets that claim to be encrypted may not be so, so treat as normal.
Just log the flags.

15 years agoAdditional media type support in qtmux (and friends).
Mark Nauwelaerts [Wed, 28 Jan 2009 12:25:14 +0000 (13:25 +0100)]
Additional media type support in qtmux (and friends).

Support AMR and H263 for both qtmux and gppmux,
and add extensions in sample table description.

15 years agoRevert "mpegdemux: do not skip pes packets that we think are encrypted"
Zaheer Merali [Wed, 28 Jan 2009 12:27:42 +0000 (12:27 +0000)]
Revert "mpegdemux: do not skip pes packets that we think are encrypted"

This reverts commit d3e4e5598f6c3db444d0014597d383ed35a02998.

15 years agompegdemux: do not skip pes packets that we think are encrypted
Josep Torra [Wed, 28 Jan 2009 12:06:49 +0000 (12:06 +0000)]
mpegdemux: do not skip pes packets that we think are encrypted

pes packets that claim to be encrypted may not be so, so treat as normal.
Just log the flags.

15 years agoBuild the modplug plugin against the modplug library and remove our copy
Hans de Goede [Sat, 24 Jan 2009 17:13:39 +0000 (18:13 +0100)]
Build the modplug plugin against the modplug library and remove our copy

Always build the modplug plugin against the system modplug library
and remove our own copy. Using the system version has advantages
if security issues or other critical bugs are found in libmodplug
and our own copy wasn't really maintained anyway.

Also our copy only contained some patches to use GLib types and functions.
Fixes bug #568837.

15 years agoAdd more to the gitignores
Jan Schmidt [Fri, 23 Jan 2009 23:42:28 +0000 (23:42 +0000)]
Add more to the gitignores

15 years agoMake RGB masks unsigned in rawvideoparse
Jan Schmidt [Fri, 23 Jan 2009 14:02:26 +0000 (14:02 +0000)]
Make RGB masks unsigned in rawvideoparse

Allow the full range of 32 bit masks for RGBA/RGB data by making sure
the mask properties are unsigned.

15 years agoAdd README with midi related links.
Stefan Kost [Fri, 23 Jan 2009 14:09:51 +0000 (16:09 +0200)]
Add README with midi related links.

15 years agoLog aac details found in codec_data.
Stefan Kost [Fri, 23 Jan 2009 14:00:10 +0000 (16:00 +0200)]
Log aac details found in codec_data.

15 years agoConfigure byte order for EXIF. Fixes #568704
Stefan Kost [Fri, 23 Jan 2009 12:43:00 +0000 (14:43 +0200)]
Configure byte order for EXIF. Fixes #568704

Exif blocks can be in differnt byte orders. Add an element property to select wich one should be written.

15 years agoRename audioresample files and types to legacyresample
Sebastian Dröge [Fri, 23 Jan 2009 11:46:28 +0000 (12:46 +0100)]
Rename audioresample files and types to legacyresample

Finish the move/rename of audioresample to legacyresample
to prevent any confusion.

15 years agoRemove speexresample from -bad, it's in -base
Sebastian Dröge [Fri, 23 Jan 2009 11:39:21 +0000 (12:39 +0100)]
Remove speexresample from -bad, it's in -base

15 years agoSend BYE packets immediatly for small sessions
Wim Taymans [Fri, 23 Jan 2009 11:13:00 +0000 (12:13 +0100)]
Send BYE packets immediatly for small sessions

When the number of participants is less than 50, the RFC allows for sending the
BYE packet immediatly instead of using the regular BYE timeout.
Fixes #567828.

15 years agoAdd seeking support to mmssrc. Fixes bug #469930.
Hans de Goede [Fri, 23 Jan 2009 10:50:29 +0000 (11:50 +0100)]
Add seeking support to mmssrc. Fixes bug #469930.

Add proper seeking support to mmssrc and clean
up some code. This requires libmms >= 0.4.

15 years agoLink modplug plugin with -lm. Fixes bug #568483.
Brian Cameron [Fri, 23 Jan 2009 09:44:20 +0000 (10:44 +0100)]
Link modplug plugin with -lm. Fixes bug #568483.

15 years agoFix build on Solaris. Fixes bug #568480.
Brian Cameron [Fri, 23 Jan 2009 09:11:52 +0000 (10:11 +0100)]
Fix build on Solaris. Fixes bug #568480.

Fix linking on Solaris by checking for the nsl and socket
libraries which are needed for socket() and gethostbyname().

Don't initialize some fields of struct mh to NULL/0, they're
already set to NULL/0 by a memset(). Also this fields don't
exist on Solaris.

15 years agoStore all partitions & primer packs in memory for faster access
Sebastian Dröge [Thu, 22 Jan 2009 13:37:21 +0000 (14:37 +0100)]
Store all partitions & primer packs in memory for faster access

Store all partitions & primer packs in memory for faster access.
This is later needed for fast seeking.

Pre-fill the list of partitions with the content of the random
index pack.

Don't parse metadata of an partition twice.

15 years agoUpdate common snapshot.
Stefan Kost [Thu, 22 Jan 2009 16:20:03 +0000 (18:20 +0200)]
Update common snapshot.

15 years agoUpdate config.h for development.
Wim Taymans [Thu, 22 Jan 2009 13:00:57 +0000 (14:00 +0100)]
Update config.h for development.

15 years agoFix pre-commit hook
Sebastian Dröge [Thu, 22 Jan 2009 12:46:44 +0000 (13:46 +0100)]
Fix pre-commit hook

15 years agoAdd support for ECMA arrays in script tags. Fixes bug #567965.
Jan Urbanski [Thu, 22 Jan 2009 12:39:34 +0000 (13:39 +0100)]
Add support for ECMA arrays in script tags. Fixes bug #567965.

Add support for ECMA arrays in script tags. This fixes
seeking on some files that have the seek table stored
inside an ECMA array instead of the normal array.

15 years agoUnlock the jitterbuffer before pushing out the packet-lost events.
Wim Taymans [Thu, 22 Jan 2009 12:33:14 +0000 (13:33 +0100)]
Unlock the jitterbuffer before pushing out the packet-lost events.
Move some code before we do the unlock to make the jitterbuffer state
consistent while we are unlocked.

15 years agoFix UL for DTS and MPEG2 layer 1
Sebastian Dröge [Thu, 22 Jan 2009 10:54:45 +0000 (11:54 +0100)]
Fix UL for DTS and MPEG2 layer 1

15 years agoAdd support for AAC audio
Sebastian Dröge [Thu, 22 Jan 2009 10:54:15 +0000 (11:54 +0100)]
Add support for AAC audio

15 years agoStore MXF metadata in a hash table, keyed by UID
Sebastian Dröge [Thu, 22 Jan 2009 10:47:48 +0000 (11:47 +0100)]
Store MXF metadata in a hash table, keyed by UID

Store the MXF metadata in a hash table, keyed by the
instance UID. This simplifies resolval of the metadata
and makes looping over all metadata sets unnecessary
in most cases.

Additionally parse metadata always. If we already have
a metadata set with the same UID replace it only if
the new metadata set is from a later offset. This
fixes metadata parsing of files where following partitions
don't have a complete copy of the previous metadata.

15 years agoBuild the random index pack while parsing
Sebastian Dröge [Thu, 22 Jan 2009 10:44:46 +0000 (11:44 +0100)]
Build the random index pack while parsing

If the file contains no random index pack or just
an invalid one build the random index pack while
parsing.

15 years agoUpdate copyrights for 2009
Sebastian Dröge [Thu, 22 Jan 2009 10:43:56 +0000 (11:43 +0100)]
Update copyrights for 2009

15 years agoSimplify parsing of UL/UUID arrays
Sebastian Dröge [Thu, 22 Jan 2009 10:42:24 +0000 (11:42 +0100)]
Simplify parsing of UL/UUID arrays

Simplify parsing of UL/UUID arrays by abstracting it
into a separate function.

15 years agoImplement parsing of DMS1 (SMPTE S380M)
Sebastian Dröge [Thu, 22 Jan 2009 10:37:22 +0000 (11:37 +0100)]
Implement parsing of DMS1 (SMPTE S380M)

15 years agoDisable the filter plugin from the build
Sebastian Dröge [Thu, 22 Jan 2009 10:00:59 +0000 (11:00 +0100)]
Disable the filter plugin from the build

The filter plugin only contains a limited IIR filter element
which is now obsoleted by the audioiirfilter element from
gst-plugins-good/audiofx.

15 years agoBack to devel -> 0.10.10.1
Jan Schmidt [Thu, 22 Jan 2009 11:56:34 +0000 (11:56 +0000)]
Back to devel -> 0.10.10.1

15 years agoInstall and use pre-commit indentation hook from common
Edward Hervey [Thu, 22 Jan 2009 05:12:55 +0000 (06:12 +0100)]
Install and use pre-commit indentation hook from common

15 years agoRevert "add audiobuffer to the build"
Andy Wingo [Wed, 21 Jan 2009 11:22:54 +0000 (12:22 +0100)]
Revert "add audiobuffer to the build"

This reverts commit 1c6ac170b9f218c673c0daaf5c568c6000a37fc3.

15 years agoadd audiobuffer to the build
Andy Wingo [Wed, 21 Jan 2009 11:18:49 +0000 (12:18 +0100)]
add audiobuffer to the build

* configure.ac: Add audiobuffer to the build.

15 years agoautogen.sh : Use git submodule
Edward Hervey [Wed, 21 Jan 2009 03:32:16 +0000 (04:32 +0100)]
autogen.sh : Use git submodule

15 years agoRelease 0.10.10
Jan Schmidt [Mon, 19 Jan 2009 23:15:36 +0000 (23:15 +0000)]
Release 0.10.10

Original commit message from CVS:
Release 0.10.10

15 years agoUpdate .po files
Jan Schmidt [Mon, 19 Jan 2009 22:41:58 +0000 (22:41 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

15 years agoconfigure.ac: 0.10.9.3 pre-release
Jan Schmidt [Fri, 9 Jan 2009 23:44:38 +0000 (23:44 +0000)]
configure.ac: 0.10.9.3 pre-release

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

15 years agogst/mpegdemux/gstmpegtsdemux.c: Don't forward duration requests in BYTES, since the...
David Schleef [Fri, 9 Jan 2009 22:09:06 +0000 (22:09 +0000)]
gst/mpegdemux/gstmpegtsdemux.c: Don't forward duration requests in BYTES, since the returned value doesn't mean anyth...

Original commit message from CVS:
* gst/mpegdemux/gstmpegtsdemux.c:
Don't forward duration requests in BYTES, since the returned
value doesn't mean anything.  Fixes #566959

15 years agogst/qtmux/gstqtmuxmap.c: Add video/x-qt-part and video/x-m4-part to caps so schroenc...
David Schleef [Fri, 9 Jan 2009 21:59:48 +0000 (21:59 +0000)]
gst/qtmux/gstqtmuxmap.c: Add video/x-qt-part and video/x-m4-part to caps so schroenc/schroparse can use it.  Fixes #5...

Original commit message from CVS:
* gst/qtmux/gstqtmuxmap.c: Add video/x-qt-part and video/x-m4-part
to caps so schroenc/schroparse can use it.  Fixes #566958

15 years agoext/resindvd/resindvdsrc.c: Additional patch for resin fixes time-based seeking in...
Jan Schmidt [Fri, 9 Jan 2009 16:49:57 +0000 (16:49 +0000)]
ext/resindvd/resindvdsrc.c: Additional patch for resin fixes time-based seeking in titles that don't start at sector ...

Original commit message from CVS:
* ext/resindvd/resindvdsrc.c:
Additional patch for resin fixes time-based seeking in titles
that don't start at sector 0 in the VTS, and fixes interpretation
of the cell elapsed time, so that it reports the correct time after
the seek completes.
Really fixes #566957.

15 years agoext/ladspa/search.c: Avoid searching (null) paths or crashing on platforms where...
Brian Cameron [Thu, 8 Jan 2009 17:57:19 +0000 (17:57 +0000)]
ext/ladspa/search.c: Avoid searching (null) paths or crashing on platforms where printing a

Original commit message from CVS:
Based on Patch by: Brian Cameron <brian dot cameron at sun dot com>
* ext/ladspa/search.c: (LADSPAPluginSearch):
Avoid searching (null) paths or crashing on platforms where printing a
NULL string segfaults. Fixes #567004.

15 years agoext/resindvd/: Add support for time based seeking.
Jan Schmidt [Thu, 8 Jan 2009 12:42:18 +0000 (12:42 +0000)]
ext/resindvd/: Add support for time based seeking.

Original commit message from CVS:
* ext/resindvd/resindvdbin.c:
* ext/resindvd/resindvdsrc.c:
* ext/resindvd/resindvdsrc.h:
* ext/resindvd/rsnaudiomunge.c:
Add support for time based seeking.
Make setting dvd:// reset to the default device.
Make the 'audiomunge' element send any new segment start before
the 'gap filler' buffer it generates, and any segment closes
after.
Fixes: #566957

15 years agoext/ladspa/gstladspa.c: Add plugin dependency for the LADSPA plugin directories.
Sebastian Dröge [Thu, 8 Jan 2009 09:40:22 +0000 (09:40 +0000)]
ext/ladspa/gstladspa.c: Add plugin dependency for the LADSPA plugin directories.

Original commit message from CVS:
* ext/ladspa/gstladspa.c: (plugin_init):
Add plugin dependency for the LADSPA plugin directories.
Fixes bug #566878.

15 years agotests/check/Makefile.am: Dist test headers for amr and aac parsers.
Jan Schmidt [Tue, 6 Jan 2009 22:51:37 +0000 (22:51 +0000)]
tests/check/Makefile.am: Dist test headers for amr and aac parsers.

Original commit message from CVS:
* tests/check/Makefile.am:
Dist test headers for amr and aac parsers.
Remove leftover lines mentioned speexresample tests.

15 years agosys/acmmp3dec/Makefile.am: Fix typo in the opposite way to give the plugin a sensible...
Michael Smith [Tue, 6 Jan 2009 22:35:50 +0000 (22:35 +0000)]
sys/acmmp3dec/Makefile.am: Fix typo in the opposite way to give the plugin a sensible name.

Original commit message from CVS:
* sys/acmmp3dec/Makefile.am:
Fix typo in the opposite way to give the plugin a sensible name.

15 years agosys/acmmp3dec/Makefile.am: Fix typo in the makefile target preventing disting.
Jan Schmidt [Tue, 6 Jan 2009 22:16:56 +0000 (22:16 +0000)]
sys/acmmp3dec/Makefile.am: Fix typo in the makefile target preventing disting.

Original commit message from CVS:
* sys/acmmp3dec/Makefile.am:
Fix typo in the makefile target preventing disting.

15 years agoRemove AppSrc/AppSink that are moving to -base. Partially fixes #564421
Jan Schmidt [Mon, 5 Jan 2009 23:03:31 +0000 (23:03 +0000)]
Remove AppSrc/AppSink that are moving to -base. Partially fixes #564421

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/inspect/plugin-app.xml:
* examples/Makefile.am:
* examples/app/.cvsignore:
* examples/app/Makefile.am:
* examples/app/appsink-src.c:
* examples/app/appsrc-ra.c:
* examples/app/appsrc-seekable.c:
* examples/app/appsrc-stream.c:
* examples/app/appsrc-stream2.c:
* examples/app/appsrc_ex.c:
* gst-libs/gst/Makefile.am:
* gst-libs/gst/app/.cvsignore:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/app/gstapp-marshal.list:
* gst-libs/gst/app/gstappbuffer.c:
* gst-libs/gst/app/gstappbuffer.h:
* gst-libs/gst/app/gstappsink.c:
* gst-libs/gst/app/gstappsink.h:
* gst-libs/gst/app/gstappsrc.c:
* gst-libs/gst/app/gstappsrc.h:
* gst/app/Makefile.am:
* gst/app/gstapp.c:
Remove AppSrc/AppSink that are moving to -base. Partially fixes
#564421

15 years agogst/mpegdemux/mpegtspacketizer.c: Guard interval is 4 if descriptor part shows binary...
Zaheer Abbas Merali [Mon, 5 Jan 2009 17:41:51 +0000 (17:41 +0000)]
gst/mpegdemux/mpegtspacketizer.c: Guard interval is 4 if descriptor part shows binary 11 (3 not 4).

Original commit message from CVS:
* gst/mpegdemux/mpegtspacketizer.c:
Guard interval is 4 if descriptor part shows binary 11 (3 not 4).

15 years agogst/mpegdemux/gstmpegdesc.h: Fix up satellite delivery subsystem defs.
Zaheer Abbas Merali [Mon, 5 Jan 2009 17:30:55 +0000 (17:30 +0000)]
gst/mpegdemux/gstmpegdesc.h: Fix up satellite delivery subsystem defs.

Original commit message from CVS:
* gst/mpegdemux/gstmpegdesc.h:
Fix up satellite delivery subsystem defs.

15 years agogst/mpegdemux/gstmpegdesc.h: Fix up terrestrial delivery system descriptor defs.
Zaheer Abbas Merali [Mon, 5 Jan 2009 17:26:00 +0000 (17:26 +0000)]
gst/mpegdemux/gstmpegdesc.h: Fix up terrestrial delivery system descriptor defs.

Original commit message from CVS:
* gst/mpegdemux/gstmpegdesc.h:
Fix up terrestrial delivery system descriptor defs.
They should be shifted otherwise wrong values are seen.

15 years agogst/mxf/: "Generation UID" and "This Generation UID" are different so handle them...
Sebastian Dröge [Mon, 5 Jan 2009 13:41:07 +0000 (13:41 +0000)]
gst/mxf/: "Generation UID" and "This Generation UID" are different so handle them different. Also both are not part o...

Original commit message from CVS:
* gst/mxf/Makefile.am:
* gst/mxf/mxfdemux.c:
* 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_track_handle_tag),
(mxf_metadata_sequence_handle_tag),
(mxf_metadata_structural_component_handle_tag),
(mxf_metadata_generic_descriptor_handle_tag),
(mxf_metadata_locator_handle_tag),
(mxf_metadata_locator_class_init):
* gst/mxf/mxfmetadata.h:
"Generation UID" and "This Generation UID" are different so handle
them different. Also both are not part of every metadata type.

15 years agogst/bayer/gstbayer2rgb.c: Fix color offset calculation for 24bpp. Fixes bug #566613.
Sascha Hauer [Mon, 5 Jan 2009 12:34:18 +0000 (12:34 +0000)]
gst/bayer/gstbayer2rgb.c: Fix color offset calculation for 24bpp. Fixes bug #566613.

Original commit message from CVS:
Patch by: Sascha Hauer <s dot hauer at pengutronix dot de>
Luotao Fu <l dot fu at pengutronix dot de>
* gst/bayer/gstbayer2rgb.c: (get_pix_offset),
(gst_bayer2rgb_set_caps):
Fix color offset calculation for 24bpp. Fixes bug #566613.

15 years agogst/mpegtsmux/: Improve muxing of AC3/h264 streams a bit. Fixes bug #550613.
vanista [Mon, 5 Jan 2009 11:28:49 +0000 (11:28 +0000)]
gst/mpegtsmux/: Improve muxing of AC3/h264 streams a bit. Fixes bug #550613.

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.

15 years agogst/mxf/mxfdemux.c: Don't allow negative or zero edit rates to prevent division by...
Sebastian Dröge [Mon, 5 Jan 2009 10:34:03 +0000 (10:34 +0000)]
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.

15 years agoext/x264/gstx264enc.c: Use hyphen in property name, perform safety buffer size check...
Mark Nauwelaerts [Mon, 5 Jan 2009 10:28:58 +0000 (10:28 +0000)]
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.

15 years agogst/mxf/: Fix compilation with debugging disabled.
Sebastian Dröge [Mon, 5 Jan 2009 10:22:29 +0000 (10:22 +0000)]
gst/mxf/: Fix compilation with debugging disabled.

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.

15 years agoconfigure.ac: Also mention jp2kenc as a jp2k plugin feature.
Mark Nauwelaerts [Mon, 5 Jan 2009 10:00:21 +0000 (10:00 +0000)]
configure.ac: Also mention jp2kenc as a jp2k plugin feature.

Original commit message from CVS:
* configure.ac:
Also mention jp2kenc as a jp2k plugin feature.

15 years agosys/dvb/dvbbasebin.c: Fix some memory leaks. Fixes bug #566356.
Sebastian Pölsterl [Sun, 4 Jan 2009 11:11:06 +0000 (11:11 +0000)]
sys/dvb/dvbbasebin.c: Fix some memory leaks. Fixes bug #566356.

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.

15 years agogst/rtpmanager/: When an SSRC is found on the caps of the sender RTP, use this as...
Olivier Crete [Fri, 2 Jan 2009 17:40:06 +0000 (17:40 +0000)]
gst/rtpmanager/: When an SSRC is found on the caps of the sender RTP, use this as the internal SSRC. Fixes #565910.

Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_setcaps_send_rtp), (create_send_rtp_sink):
* gst/rtpmanager/rtpsession.c: (rtp_session_set_internal_ssrc):
When an SSRC is found on the caps of the sender RTP, use this as the
internal SSRC. Fixes #565910.

15 years agogst/rtpmanager/: Rename a method to better reflect what it really does.
Wim Taymans [Fri, 2 Jan 2009 16:50:53 +0000 (16:50 +0000)]
gst/rtpmanager/: Rename a method to better reflect what it really does.

Original commit message from CVS:
* gst/rtpmanager/gstrtpsession.c:
(gst_rtp_session_event_send_rtp_sink),
(gst_rtp_session_getcaps_send_rtp):
* gst/rtpmanager/rtpsession.c: (check_collision),
(rtp_session_schedule_bye_locked), (rtp_session_schedule_bye):
* gst/rtpmanager/rtpsession.h:
Rename a method to better reflect what it really does.

15 years agoext/apexsink/Makefile.am: Move -lgcrypto from _LDFLAGS to _LIBADD.
Alessandro Decina [Fri, 2 Jan 2009 11:00:17 +0000 (11:00 +0000)]
ext/apexsink/Makefile.am: Move -lgcrypto from _LDFLAGS to _LIBADD.

Original commit message from CVS:
* ext/apexsink/Makefile.am:
Move -lgcrypto from _LDFLAGS to _LIBADD.

15 years agoext/apexsink/Makefile.am: Link against -lgcrpyto for RSA_new and RSA_free.
Alessandro Decina [Fri, 2 Jan 2009 01:44:11 +0000 (01:44 +0000)]
ext/apexsink/Makefile.am: Link against -lgcrpyto for RSA_new and RSA_free.

Original commit message from CVS:
* ext/apexsink/Makefile.am:
Link against -lgcrpyto for RSA_new and RSA_free.
* ext/faac/gstfaac.c:
* ext/x264/gstx264enc.c:
Fix compiler warnings.

15 years agogst/mpegdemux/gstmpegdemux.c: Initialize scr_rate_n and scr_rate_d in order to fix...
Alessandro Decina [Fri, 2 Jan 2009 01:12:35 +0000 (01:12 +0000)]
gst/mpegdemux/gstmpegdemux.c: Initialize scr_rate_n and scr_rate_d in order to fix compiler warnings.

Original commit message from CVS:
* gst/mpegdemux/gstmpegdemux.c:
Initialize scr_rate_n and scr_rate_d in order to fix compiler warnings.

15 years agoImplement support for OP2a/b/c and OP3a/b/c, i.e. tracks with more than a single...
Sebastian Dröge [Wed, 31 Dec 2008 08:53:02 +0000 (08:53 +0000)]
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.

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.