Jan Urbański
c69c5cb0d7
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.
2010-03-15 13:54:39 +01:00
Jan Urbański
9fdecbc1c1
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.
2010-03-15 13:53:53 +01:00
Jan Urbański
7deee29d2c
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 .
2010-03-15 13:52:03 +01:00
Sebastian Dröge
7c74f7d525
flvmux: Minor coding style fixes and cleanup
2010-03-15 13:47:13 +01:00
Jan Urbański
54a8237d62
flvmux: Add a is-live property
...
If it is set, the muxer will not write the index. Defaults to false.
2010-03-15 13:46:09 +01:00
Jan Urbański
c9bb3edd6f
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 .
2010-03-15 13:45:21 +01:00
Jan Urbański
b21c5c9015
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.
2010-03-15 13:44:14 +01:00
Sebastian Dröge
a7a0afa5c4
cairotextoverlay: Don't render text outside the frame boundaries
...
Fixes bug #611986 .
2010-03-15 13:41:56 +01:00
Wim Taymans
ba6dbaecfc
rtspsrc: don't forget to send keepalive messages
...
When we operate in TCP mode, still send keepalive messages when we
need to.
Fixes #612696
2010-03-15 11:38:23 +01:00
Руслан Ижбулатов
43e3e5c0d7
pngenc: Call png_jmpbuf() instead of accessing png_struct_ptr directly
...
Fixes #612700 (again)
2010-03-14 20:09:32 +01:00
Руслан Ижбулатов
0ce782383f
pngenc: Call png_error() instead of using longjmp() directly.
...
Fixes #612700
2010-03-13 06:13:00 +01:00
Edward Hervey
6798e80424
Automatic update of common submodule
...
From e272f71 to 55cd514
2010-03-12 13:57:28 +01:00
Thiago Santos
5efda5caf7
qtdemux: add XMP parsing support
...
Use xmp helpers to parse XMP metadata in udta atom.
Fixes #609539
2010-03-11 19:04:49 -03:00
Michael Smith
5b357ce22e
udp: fix compilation errors on non-windows.
2010-03-11 12:32:56 -08:00
Andoni Morales Alastruey
7f980d28aa
multiudpsink: avoid getting the socket family using getsockname()
2010-03-11 10:33:10 -08:00
Edward Hervey
32498746ad
qtdemux: Fix print statements for pointer differences.
...
This fixes it for both 32 and 64 bit
2010-03-11 17:28:47 +01:00
Edward Hervey
8d794e6a9f
qtdemux: Fix unitialized variables
2010-03-11 17:28:35 +01:00
Edward Hervey
6dfcee8fdb
flvdemux: Fix printf formatting for macosx
2010-03-11 17:04:41 +01:00
Edward Hervey
8e0a8b30b8
flvdemux: Fix unitialized variables
2010-03-11 17:04:41 +01:00
Edward Hervey
c4d55cf782
avidemux: Fix unitialized variable.
2010-03-11 17:04:41 +01:00
Edward Hervey
95d087ed77
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
2010-03-11 17:04:41 +01:00
Tim-Philipp Müller
a18164d56e
tests: fix metadata not writable warnings in interleave and deinterleave tests
2010-03-11 15:51:40 +00:00
Tim-Philipp Müller
df2c773e7d
tests: fix metadata not writable warnings with apev2mux and id3v2mux tests
2010-03-11 15:38:19 +00:00
Tim-Philipp Müller
954064a8d6
souphttpsrc: fix metadata writable warnings
...
Set metadata on buffer first, when the refcount is still 1, and only
ref again afterwards.
2010-03-11 15:25:55 +00:00
Mark Nauwelaerts
c007d8535c
avidemux: ignore stream with invalid header time metadata
2010-03-11 15:04:19 +01:00
Thiago Santos
145b3a3079
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
2010-03-11 09:38:32 -03:00
Wim Taymans
d29fa60f97
rtspsrc: check for NULL before doing strcmp
...
Check the connection and address type for NULL before doing strcmp and
crashing.
Fixes #612553
2010-03-11 12:56:11 +01:00
Benjamin Otte
2d16c09db8
Automatic update of common submodule
...
From df8a7c8 to e272f71
2010-03-11 11:20:59 +01:00
Stefan Kost
0a43c86723
build: include stdlib.h for atoi()
2010-03-11 11:09:55 +02:00
Stefan Kost
f405f9c775
audiopanorama: move invariant check out of the inner loop
...
Improves performance for simple method.
2010-03-11 10:35:05 +02:00
Benjamin Otte
cf6d4cd94e
Update CXXFLAGS, too, just like CFLAGS
2010-03-10 22:15:04 +01:00
Benjamin Otte
21f66635e8
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.
2010-03-10 21:53:51 +01:00
Benjamin Otte
205c6d01a1
Automatic update of common submodule
...
From 9720a7d to df8a7c8
2010-03-10 21:52:09 +01:00
Benjamin Otte
3adc42032a
Automatic update of common submodule
...
From 0b6e072 to 9720a7d
2010-03-10 20:43:57 +01:00
Andoni Morales Alastruey
2eb651d46f
multiudpsink: Reset windows error code after getting corresponding error message.
2010-03-10 10:51:28 -08:00
Michael Smith
c3b0509beb
avimux: put the codec_data blob into the actual data for MPEG4 video,
...
to match other implementations in the wild.
2010-03-10 10:40:47 -08:00
Benjamin Otte
efc54acc15
Automatic update of common submodule
...
From 7cc5eb4 to 0b6e072
2010-03-10 16:09:56 +01:00
Thadeu Lima de Souza Cascardo
aa26b09c1c
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
2010-03-10 09:41:06 -03:00
Mark Nauwelaerts
1a60c7b040
avidemux: push mode; also report seekable without an element index
...
... since recent code also seeks around to obtain required data
from avi index.
2010-03-10 11:48:07 +01:00
Mark Nauwelaerts
3a1a140e2d
avidemux: add some check and standardized seek event handling in push mode
2010-03-10 11:48:07 +01:00
Mark Nauwelaerts
d90aed1857
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.
2010-03-10 11:48:07 +01:00
Mark Nauwelaerts
1dfcc3227c
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.
2010-03-10 11:48:07 +01:00
Mark Nauwelaerts
f23fb39bc7
flvdemux: avoid indefinite index growth
...
That is, check for and do not add an index entry that has already
been added.
2010-03-10 11:48:07 +01:00
Mark Nauwelaerts
f79de81bb4
flvdemux: also collect index info on-the-fly in pull mode
2010-03-10 11:48:07 +01:00
Mark Nauwelaerts
86a1aec2c0
flvdemux: incrementally build index in pull mode
...
Scan for needed part upon a seek as opposed to doing a complete scan
at startup, which may take some time depending on file and/or platform.
Also accept index metadata in pull mode and peek for some metadata
at the end of the file when deemed appropriate.
2010-03-10 11:48:06 +01:00
Mark Nauwelaerts
66fabd8bfd
flvdemux: some more variable cleanup
2010-03-10 11:48:06 +01:00
Mark Nauwelaerts
122daaf6af
flvdemux: refactor adding index entry
2010-03-10 11:48:06 +01:00
Mark Nauwelaerts
6aa4d5df2d
flvdemux: fix setting DELTA_UNIT flag on outgoing buffers
...
... which should not depend on having index available or not.
Also refactor resulting collapsed code.
2010-03-10 11:48:06 +01:00
Mark Nauwelaerts
561a506822
qtdemux: avoid erroneous codec-data overriding of stsd information
2010-03-10 11:48:06 +01:00
Mark Nauwelaerts
4abf31067f
speexdec: adapt to new oggdemux
...
Remove all granulepos hacks and simply use upstream timestamps.
2010-03-10 11:48:06 +01:00