platform/upstream/gst-plugins-good.git
14 years agoAdd -Wold-style-definition flag
Benjamin Otte [Sun, 21 Mar 2010 14:17:46 +0000 (15:17 +0100)]
Add -Wold-style-definition flag

And fix the warnings

14 years agoAdd -Wwrite-strings to the configure flags
Benjamin Otte [Fri, 19 Mar 2010 23:54:14 +0000 (00:54 +0100)]
Add -Wwrite-strings to the configure flags

... and fix all warnings

14 years agoshapewipe: Add support for the remaining ARGB formats
Sebastian Dröge [Sun, 21 Mar 2010 10:14:12 +0000 (11:14 +0100)]
shapewipe: Add support for the remaining ARGB formats

And handle AYUV like ARGB, we need no YUV specific handling.

14 years agoalpha: Add support for RGB and xRGB input
Sebastian Dröge [Sat, 20 Mar 2010 20:30:58 +0000 (21:30 +0100)]
alpha: Add support for RGB and xRGB input

14 years agoalpha: Add support for ARGB input
Sebastian Dröge [Sat, 20 Mar 2010 20:13:23 +0000 (21:13 +0100)]
alpha: Add support for ARGB input

14 years agoalpha: Add support for generating ARGB output
Sebastian Dröge [Sat, 20 Mar 2010 19:46:19 +0000 (20:46 +0100)]
alpha: Add support for generating ARGB output

14 years agovideomixer: Add support for ABGR and RGBA
Sebastian Dröge [Sat, 20 Mar 2010 09:47:42 +0000 (10:47 +0100)]
videomixer: Add support for ABGR and RGBA

Now all 4 ARGB variants are supported by videomixer.

14 years agoalpha: Move chroma keying parameters into stack variables to prevent multiple pointer...
Sebastian Dröge [Sat, 20 Mar 2010 09:24:56 +0000 (10:24 +0100)]
alpha: Move chroma keying parameters into stack variables to prevent multiple pointer dereferences per pixel

14 years agoalpha: Move color conversion matrixes into stack variables to speed up processing
Sebastian Dröge [Sat, 20 Mar 2010 09:20:53 +0000 (10:20 +0100)]
alpha: Move color conversion matrixes into stack variables to speed up processing

14 years agoalpha: Use correct matrixes to convert chroma keying color to YUV
Sebastian Dröge [Sat, 20 Mar 2010 09:18:04 +0000 (10:18 +0100)]
alpha: Use correct matrixes to convert chroma keying color to YUV

14 years agoalpha: Add support for different color matrixes
Sebastian Dröge [Fri, 19 Mar 2010 17:51:59 +0000 (18:51 +0100)]
alpha: Add support for different color matrixes

14 years agoalpha: Rename and move functions as further preparation for supporting more color...
Sebastian Dröge [Fri, 19 Mar 2010 17:21:19 +0000 (18:21 +0100)]
alpha: Rename and move functions as further preparation for supporting more color formats

14 years agoalpha: Remove some unneeded calculations and instance struct fields
Sebastian Dröge [Fri, 19 Mar 2010 17:18:08 +0000 (18:18 +0100)]
alpha: Remove some unneeded calculations and instance struct fields

And document the instance struct fields a bit better

14 years agoalpha: Some preparations for supporting more color formats
Sebastian Dröge [Fri, 19 Mar 2010 17:11:12 +0000 (18:11 +0100)]
alpha: Some preparations for supporting more color formats

14 years agoh264pay: fix config-interval property
Wim Taymans [Fri, 19 Mar 2010 16:09:06 +0000 (17:09 +0100)]
h264pay: fix config-interval property

Use the same units for comparing the elapsed time against the interval.

Fixes #613013

14 years agoalphacolor: Implement color-matrix support and use integer arithmetic only
Sebastian Dröge [Fri, 19 Mar 2010 15:44:00 +0000 (16:44 +0100)]
alphacolor: Implement color-matrix support and use integer arithmetic only

Alphacolor now uses the correct matrixes for SDTV and HDTV and can
convert between them.

14 years agortsp: use GType from -base and bump required version
Wim Taymans [Fri, 19 Mar 2010 14:03:43 +0000 (15:03 +0100)]
rtsp: use GType from -base and bump required version

Use the transport flags GType from -base and bump the required version of -base
because of this.

14 years agoapetag: minor Makefile.am surgery
Tim-Philipp Müller [Fri, 19 Mar 2010 00:05:19 +0000 (00:05 +0000)]
apetag: minor Makefile.am surgery

-I$(top_srcdir)/gst-libs/ is already in $(GST_CFLAGS)

14 years agodv1394src: Fix internal clock
Andoni Morales Alastruey [Thu, 4 Mar 2010 21:12:35 +0000 (22:12 +0100)]
dv1394src: Fix internal clock

Fixes #593910.

14 years agobuild: Makefile.am cleanups
Tim-Philipp Müller [Thu, 18 Mar 2010 21:14:17 +0000 (21:14 +0000)]
build: Makefile.am cleanups

Mostly add $(GST_BASE_CFLAGS) where it was missing, but also fix up
order of flags and libs if needed (see docs/random/moving-plugins).

14 years agodirectsoundsink: fix redundant function redeclaration compiler warnings
Tim-Philipp Müller [Thu, 18 Mar 2010 18:49:24 +0000 (18:49 +0000)]
directsoundsink: fix redundant function redeclaration compiler warnings

14 years agoalpha: Remove remaining floating point arithmetic when processing a pixel
Sebastian Dröge [Thu, 18 Mar 2010 18:00:09 +0000 (19:00 +0100)]
alpha: Remove remaining floating point arithmetic when processing a pixel

14 years agoalpha: Refactor chroma keying into a single function
Sebastian Dröge [Thu, 18 Mar 2010 17:55:34 +0000 (18:55 +0100)]
alpha: Refactor chroma keying into a single function

This reduces code duplication once we add support for more color formats.

14 years agogst_element_class_set_details => gst_element_class_set_details_simple
Benjamin Otte [Thu, 18 Mar 2010 13:31:35 +0000 (14:31 +0100)]
gst_element_class_set_details => gst_element_class_set_details_simple

14 years agoRemove oldcore directory
Benjamin Otte [Thu, 18 Mar 2010 13:02:30 +0000 (14:02 +0100)]
Remove oldcore directory

The elements have been unused for ages and all important ones have been
replaced or copied elsewhere.

14 years agoavi: Remove old file
Benjamin Otte [Thu, 18 Mar 2010 12:45:08 +0000 (13:45 +0100)]
avi: Remove old file

Seems to be leftover from the 0.4 days or so.

14 years agopulse: use #ifdef rather than #if conditionals
Mark Nauwelaerts [Thu, 18 Mar 2010 11:44:53 +0000 (12:44 +0100)]
pulse: use #ifdef rather than #if conditionals

14 years agortph264depay: do not call _push_ts with unneeded (and wrong) time parameter
Mark Nauwelaerts [Thu, 18 Mar 2010 11:20:17 +0000 (12:20 +0100)]
rtph264depay: do not call _push_ts with unneeded (and wrong) time parameter

Fixes #613206.

14 years agoavidemux: fix typo in header validation check
Mark Nauwelaerts [Thu, 18 Mar 2010 10:33:59 +0000 (11:33 +0100)]
avidemux: fix typo in header validation check

14 years agoflvmux: put more information in the metadata
Jan Urbański [Thu, 18 Mar 2010 00:51:19 +0000 (01:51 +0100)]
flvmux: put more information in the metadata

Additional tags are: audiocodecid, videocodecid framerate and (in the
non-live case) filesize.

While at it, fix index rewriting to update duration and filesize
values even if the index is empty.

Fixes #613094.

14 years agoAdd -Wundef to configure flags
Benjamin Otte [Wed, 17 Mar 2010 20:33:28 +0000 (21:33 +0100)]
Add -Wundef to configure flags

and fix the resulting warnings

14 years ago-Wmissing-prototypes is not valid for C++
Benjamin Otte [Wed, 17 Mar 2010 19:02:16 +0000 (20:02 +0100)]
-Wmissing-prototypes is not valid for C++

14 years agoAdd -Wredundant-decls warning flag
Benjamin Otte [Wed, 17 Mar 2010 18:35:10 +0000 (19:35 +0100)]
Add -Wredundant-decls warning flag

Also fix compile issues

14 years agoFix warnings in experimental plugins, too
Benjamin Otte [Wed, 17 Mar 2010 17:49:11 +0000 (18:49 +0100)]
Fix warnings in experimental plugins, too

14 years agoAdd -Wmissing-declarations -Wmissing-prototypes warning flags
Benjamin Otte [Wed, 17 Mar 2010 17:23:00 +0000 (18:23 +0100)]
Add -Wmissing-declarations -Wmissing-prototypes warning flags

And fix all the warnings.

14 years agomp4gdepay: improve constantDuration guessing
Wim Taymans [Wed, 17 Mar 2010 15:23:24 +0000 (16:23 +0100)]
mp4gdepay: improve constantDuration guessing

When no constantDuration has been given in the caps, try to derive one from the
timestamp difference between packets. Also keep doing this for each packet
because some broken streams might simply provide wrong timestamps.

14 years agoflvmux: Put width and height in the metadata
Jan Urbański [Tue, 16 Mar 2010 22:43:39 +0000 (23:43 +0100)]
flvmux: Put width and height in the metadata

Some players use that info to scale their display.

See #613094.

14 years agoflvmux: don't put timestamps larger than G_MAXINT32 in the FLV tags
Jan Urbański [Tue, 16 Mar 2010 22:32:45 +0000 (23:32 +0100)]
flvmux: don't put timestamps larger than G_MAXINT32 in the FLV tags

For non-live input respond by pushing EOS, for live wrap the
timestamps every G_MAXINT32 miliseconds.

Fixes #613003.

14 years agosoup: also use g_value_set_static_string() here for static strings
Stefan Kost [Tue, 16 Mar 2010 21:40:12 +0000 (23:40 +0200)]
soup: also use g_value_set_static_string() here for static strings

14 years agoalphacolor: Fix RGBA<->AYUV conversion
Sebastian Dröge [Tue, 16 Mar 2010 20:23:11 +0000 (21:23 +0100)]
alphacolor: Fix RGBA<->AYUV conversion

14 years agoalpha: Remove redundant instance field
Sebastian Dröge [Tue, 16 Mar 2010 20:16:26 +0000 (21:16 +0100)]
alpha: Remove redundant instance field

14 years agoalpha: Protect property values from changes during frame processing
Sebastian Dröge [Tue, 16 Mar 2010 20:10:08 +0000 (21:10 +0100)]
alpha: Protect property values from changes during frame processing

14 years agopngenc: Use png_get_io_ptr() instead of accessing io_ptr directly
Руслан Ижбулатов [Mon, 15 Mar 2010 20:29:55 +0000 (23:29 +0300)]
pngenc: Use png_get_io_ptr() instead of accessing io_ptr directly

Fixes #612700 (for the last time!)

14 years agopng: Check for libpng >= 1.2 instead of libpng12
Руслан Ижбулатов [Mon, 15 Mar 2010 20:29:06 +0000 (23:29 +0300)]
png: Check for libpng >= 1.2 instead of libpng12

14 years agoflvmux: Always put a duration tag in the metadata
Jan Urbański [Tue, 16 Mar 2010 00:29:36 +0000 (01:29 +0100)]
flvmux: Always put a duration tag in the metadata

Some Flash players (for instance JW Player) always expect a duration
tag, otherwise they don't start playback.

If duration can be queried from the sink pads or is provided as a tag,
use it. Otherwise try to determine it from the last seen timestamp of
the sink pads after EOS and rewrite it in the header before writing
the index.

14 years agoflvmux: Remove the send_codec_data field from GstFlvPad
Jan Urbański [Mon, 15 Mar 2010 23:35:46 +0000 (00:35 +0100)]
flvmux: Remove the send_codec_data field from GstFlvPad

That field is not used anymore after the changes in
9fdecbc1c11f4e5af6578bba32a9b32771029d33.

14 years agomultiudpsink: get family of external sockets too
Wim Taymans [Tue, 16 Mar 2010 12:53:26 +0000 (13:53 +0100)]
multiudpsink: get family of external sockets too

Get the family of externally configured sockets so that we can configure it
correctly.

14 years agoalphacolor: Add support for the remaining ARGB formats
Sebastian Dröge [Mon, 15 Mar 2010 19:37:51 +0000 (20:37 +0100)]
alphacolor: Add support for the remaining ARGB formats

14 years agoalphacolor: Simplify ARGB<->AYUV conversions by code generation macros
Sebastian Dröge [Mon, 15 Mar 2010 18:16:18 +0000 (19:16 +0100)]
alphacolor: Simplify ARGB<->AYUV conversions by code generation macros

14 years agoalpha: Minor cleanups and move declarations into a separate header file
Sebastian Dröge [Mon, 15 Mar 2010 18:07:28 +0000 (19:07 +0100)]
alpha: Minor cleanups and move declarations into a separate header file

14 years agoalpha: Use GstVideoFilter as base class for automatic QoS support
Sebastian Dröge [Mon, 15 Mar 2010 17:58:51 +0000 (18:58 +0100)]
alpha: Use GstVideoFilter as base class for automatic QoS support

14 years agoalphacolor: Add support for inplace conversions from AYUV to ARGB
Sebastian Dröge [Mon, 15 Mar 2010 17:50:11 +0000 (18:50 +0100)]
alphacolor: Add support for inplace conversions from AYUV to ARGB

14 years agoalphacolor: Use libgstvideo for caps parsing
Sebastian Dröge [Mon, 15 Mar 2010 17:14:19 +0000 (18:14 +0100)]
alphacolor: Use libgstvideo for caps parsing

14 years agoalphacolor: Use GstVideoFilter as base class for automatic QoS support
Sebastian Dröge [Mon, 15 Mar 2010 17:09:55 +0000 (18:09 +0100)]
alphacolor: Use GstVideoFilter as base class for automatic QoS support

14 years agoalphacolor: Some minor cleanup
Sebastian Dröge [Mon, 15 Mar 2010 17:07:29 +0000 (18:07 +0100)]
alphacolor: Some minor cleanup

14 years agospeexdec: Use speex_stereo_state_init() instead of the deprecated initialization...
Sebastian Dröge [Mon, 15 Mar 2010 13:16:58 +0000 (14:16 +0100)]
speexdec: Use speex_stereo_state_init() instead of the deprecated initialization macro

Fixes bug #612777.

14 years agoflvmux: Correctly mark buffers as delta units
Jan Urbański [Mon, 15 Mar 2010 00:09:49 +0000 (01:09 +0100)]
flvmux: Correctly mark buffers as delta units

Mark video interframes, video codec data buffers and audio buffers (if
it's not an audio-only stream) as delta units.

14 years agoflvmux: Support streamheaders
Jan Urbański [Sun, 14 Mar 2010 18:32:20 +0000 (19:32 +0100)]
flvmux: Support streamheaders

Put the FLV header, the metadata tag and (if present) codec
information in the streamheader to allow the muxer to be used for
streaming.

14 years agoflvmux: Preallocate index space and fill it after finishing output
Jan Urbański [Sun, 14 Mar 2010 00:38:21 +0000 (01:38 +0100)]
flvmux: Preallocate index space and fill it after finishing output

Make the index appear at the beginning of the file, which is what most
players are expecting.

Fixes #601236.

14 years agoflvmux: Minor coding style fixes and cleanup
Sebastian Dröge [Mon, 15 Mar 2010 12:47:13 +0000 (13:47 +0100)]
flvmux: Minor coding style fixes and cleanup

14 years agoflvmux: Add a is-live property
Jan Urbański [Sun, 14 Mar 2010 00:34:02 +0000 (01:34 +0100)]
flvmux: Add a is-live property

If it is set, the muxer will not write the index. Defaults to false.

14 years agoflvmux: Only put valid seek points in the index
Jan Urbański [Sun, 14 Mar 2010 00:25:42 +0000 (01:25 +0100)]
flvmux: Only put valid seek points in the index

For files containing video only video keyframes are valid points to
which a player can seek. For audio-only files any tag start is a valid
seek point.

See #601236.

14 years agoflvmux: Fix index building to make entries point to tag's start offset
Jan Urbański [Sun, 14 Mar 2010 00:09:37 +0000 (01:09 +0100)]
flvmux: Fix index building to make entries point to tag's start offset

Previous coding was wrongly incrementing the total byte count before
adding an index entry.

14 years agocairotextoverlay: Don't render text outside the frame boundaries
Sebastian Dröge [Mon, 15 Mar 2010 12:40:38 +0000 (13:40 +0100)]
cairotextoverlay: Don't render text outside the frame boundaries

Fixes bug #611986.

14 years agortspsrc: don't forget to send keepalive messages
Wim Taymans [Mon, 15 Mar 2010 10:38:23 +0000 (11:38 +0100)]
rtspsrc: don't forget to send keepalive messages

When we operate in TCP mode, still send keepalive messages when we
need to.

Fixes #612696

14 years agopngenc: Call png_jmpbuf() instead of accessing png_struct_ptr directly
Руслан Ижбулатов [Sat, 13 Mar 2010 20:19:35 +0000 (23:19 +0300)]
pngenc: Call png_jmpbuf() instead of accessing png_struct_ptr directly

Fixes #612700 (again)

14 years agopngenc: Call png_error() instead of using longjmp() directly.
Руслан Ижбулатов [Fri, 12 Mar 2010 13:44:30 +0000 (16:44 +0300)]
pngenc: Call png_error() instead of using longjmp() directly.

Fixes #612700

14 years agoAutomatic update of common submodule
Edward Hervey [Fri, 12 Mar 2010 12:57:28 +0000 (13:57 +0100)]
Automatic update of common submodule

From e272f71 to 55cd514

14 years agoqtdemux: add XMP parsing support
Thiago Santos [Fri, 5 Mar 2010 14:06:47 +0000 (11:06 -0300)]
qtdemux: add XMP parsing support

Use xmp helpers to parse XMP metadata in udta atom.

Fixes #609539

14 years agoudp: fix compilation errors on non-windows.
Michael Smith [Thu, 11 Mar 2010 20:32:56 +0000 (12:32 -0800)]
udp: fix compilation errors on non-windows.

14 years agomultiudpsink: avoid getting the socket family using getsockname()
Andoni Morales Alastruey [Wed, 10 Mar 2010 21:23:43 +0000 (22:23 +0100)]
multiudpsink: avoid getting the socket family using getsockname()

14 years agoqtdemux: Fix print statements for pointer differences.
Edward Hervey [Thu, 11 Mar 2010 16:28:47 +0000 (17:28 +0100)]
qtdemux: Fix print statements for pointer differences.

This fixes it for both 32 and 64 bit

14 years agoqtdemux: Fix unitialized variables
Edward Hervey [Thu, 11 Mar 2010 16:28:35 +0000 (17:28 +0100)]
qtdemux: Fix unitialized variables

14 years agoflvdemux: Fix printf formatting for macosx
Edward Hervey [Thu, 11 Mar 2010 16:03:47 +0000 (17:03 +0100)]
flvdemux: Fix printf formatting for macosx

14 years agoflvdemux: Fix unitialized variables
Edward Hervey [Thu, 11 Mar 2010 16:03:05 +0000 (17:03 +0100)]
flvdemux: Fix unitialized variables

14 years agoavidemux: Fix unitialized variable.
Edward Hervey [Thu, 11 Mar 2010 16:02:44 +0000 (17:02 +0100)]
avidemux: Fix unitialized variable.

14 years agoflvparse: Make script tag parsing more flexible.
Edward Hervey [Fri, 19 Feb 2010 12:39:04 +0000 (13:39 +0100)]
flvparse: Make script tag parsing more flexible.

* The nb_elements for arrays is just an indication, we can therefore ignore
  it and carry on parsing metadata items until we reach the end marker.
* If type == 3, then the script tag contains a list of object followed
  by the end marker.

Refactor code slightly to handle both cases

https://bugzilla.gnome.org/show_bug.cgi?id=610447

14 years agotests: fix metadata not writable warnings in interleave and deinterleave tests
Tim-Philipp Müller [Thu, 11 Mar 2010 15:51:40 +0000 (15:51 +0000)]
tests: fix metadata not writable warnings in interleave and deinterleave tests

14 years agotests: fix metadata not writable warnings with apev2mux and id3v2mux tests
Tim-Philipp Müller [Thu, 11 Mar 2010 15:38:19 +0000 (15:38 +0000)]
tests: fix metadata not writable warnings with apev2mux and id3v2mux tests

14 years agosouphttpsrc: fix metadata writable warnings
Tim-Philipp Müller [Thu, 11 Mar 2010 15:24:20 +0000 (15:24 +0000)]
souphttpsrc: fix metadata writable warnings

Set metadata on buffer first, when the refcount is still 1, and only
ref again afterwards.

14 years agoavidemux: ignore stream with invalid header time metadata
Mark Nauwelaerts [Thu, 11 Mar 2010 14:02:48 +0000 (15:02 +0100)]
avidemux: ignore stream with invalid header time metadata

14 years agoqtdemux: Set stream-format=raw on AAC caps
Thiago Santos [Mon, 8 Mar 2010 17:57:17 +0000 (14:57 -0300)]
qtdemux: Set stream-format=raw on AAC caps

Set stream-format=raw for AAC caps, as that is the
expected AAC format to be in this container family.

Fixes #566250

14 years agortspsrc: check for NULL before doing strcmp
Wim Taymans [Thu, 11 Mar 2010 11:56:11 +0000 (12:56 +0100)]
rtspsrc: check for NULL before doing strcmp

Check the connection and address type for NULL before doing strcmp and
crashing.

Fixes #612553

14 years agoAutomatic update of common submodule
Benjamin Otte [Thu, 11 Mar 2010 10:20:59 +0000 (11:20 +0100)]
Automatic update of common submodule

From df8a7c8 to e272f71

14 years agobuild: include stdlib.h for atoi()
Stefan Kost [Thu, 11 Mar 2010 09:09:55 +0000 (11:09 +0200)]
build: include stdlib.h for atoi()

14 years agoaudiopanorama: move invariant check out of the inner loop
Stefan Kost [Thu, 11 Mar 2010 08:33:00 +0000 (10:33 +0200)]
audiopanorama: move invariant check out of the inner loop

Improves performance for simple method.

14 years agoUpdate CXXFLAGS, too, just like CFLAGS
Benjamin Otte [Wed, 10 Mar 2010 21:15:04 +0000 (22:15 +0100)]
Update CXXFLAGS, too, just like CFLAGS

14 years agoUpdate for recent changes to common submodule
Benjamin Otte [Wed, 10 Mar 2010 20:01:20 +0000 (21:01 +0100)]
Update for recent changes to common submodule

This just replaces every "$ERROR_CFLAGS" usage with a usage of
"$WARNING_CFLAGS $ERROR_CFLAGS" to get the same functionality as
previously.

Actually using that separation will happen later.

14 years agoAutomatic update of common submodule
Benjamin Otte [Wed, 10 Mar 2010 20:52:09 +0000 (21:52 +0100)]
Automatic update of common submodule

From 9720a7d to df8a7c8

14 years agoAutomatic update of common submodule
Benjamin Otte [Wed, 10 Mar 2010 19:43:57 +0000 (20:43 +0100)]
Automatic update of common submodule

From 0b6e072 to 9720a7d

14 years agomultiudpsink: Reset windows error code after getting corresponding error message.
Andoni Morales Alastruey [Wed, 10 Mar 2010 18:51:28 +0000 (10:51 -0800)]
multiudpsink: Reset windows error code after getting corresponding error message.

14 years agoavimux: put the codec_data blob into the actual data for MPEG4 video,
Michael Smith [Wed, 10 Mar 2010 01:32:27 +0000 (17:32 -0800)]
avimux: put the codec_data blob into the actual data for MPEG4 video,
to match other implementations in the wild.

14 years agoAutomatic update of common submodule
Benjamin Otte [Wed, 10 Mar 2010 15:09:56 +0000 (16:09 +0100)]
Automatic update of common submodule

From 7cc5eb4 to 0b6e072

14 years agoximagesrc: send new_segment with GST_FORMAT_TIME format
Thadeu Lima de Souza Cascardo [Wed, 24 Feb 2010 00:06:55 +0000 (21:06 -0300)]
ximagesrc: send new_segment with GST_FORMAT_TIME format

Instead of using BaseSrc default format GST_FORMAT_BYTES, send it in
GST_FORMAT_TIME.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Fixes #611659

14 years agoavidemux: push mode; also report seekable without an element index
Mark Nauwelaerts [Wed, 10 Mar 2010 10:46:06 +0000 (11:46 +0100)]
avidemux: push mode; also report seekable without an element index

... since recent code also seeks around to obtain required data
from avi index.

14 years agoavidemux: add some check and standardized seek event handling in push mode
Mark Nauwelaerts [Tue, 9 Mar 2010 17:06:52 +0000 (18:06 +0100)]
avidemux: add some check and standardized seek event handling in push mode

14 years agoavidemux: fix offset handling in push mode seeking
Mark Nauwelaerts [Tue, 9 Mar 2010 17:05:29 +0000 (18:05 +0100)]
avidemux: fix offset handling in push mode seeking

Push mode seeking uses same index data as pull mode, and stores
offset to data in chunk, whereas push mode operates in chunks,
and as such needs offset consistently corresponding to chunk headers.
Also fix determining best matching stream for incoming newsegment event,
as well as setting some stream state accordingly.

14 years agoflvdemux: conduct index scan in task thread
Mark Nauwelaerts [Fri, 26 Feb 2010 20:29:49 +0000 (21:29 +0100)]
flvdemux: conduct index scan in task thread

... rather than in seeking thread, which might then occupy mainloop
for some time with possible unresponsive side-effects.

14 years agoflvdemux: avoid indefinite index growth
Mark Nauwelaerts [Fri, 26 Feb 2010 20:27:33 +0000 (21:27 +0100)]
flvdemux: avoid indefinite index growth

That is, check for and do not add an index entry that has already
been added.

14 years agoflvdemux: also collect index info on-the-fly in pull mode
Mark Nauwelaerts [Thu, 18 Feb 2010 13:57:39 +0000 (14:57 +0100)]
flvdemux: also collect index info on-the-fly in pull mode