Vincent Penquerc'h
011c33e91e
flacparse: detect when a file lies about fixed block size
...
If the sample/block number happens to be the same as the block
size, we assume variable block size, and thus counters in samples
in the headers. This can only get us a false positive for a block
size of 1, which is invalid. We can get false negatives more
often though (eg, if not starting at the start of the stream),
but then that's already GIGO.
2011-11-14 15:53:36 +00:00
Olivier Crête
1169bb05af
gstrtpsession: Add special mode to use FIR as repair as Google does
...
https://bugzilla.gnome.org/show_bug.cgi?id=658419
2011-11-14 12:26:27 +01:00
Olivier Crête
79a9564c68
rtpsession: Send FIR requests in response to key unit requests with all-headers=TRUE
...
https://bugzilla.gnome.org/show_bug.cgi?id=658419
2011-11-14 12:26:27 +01:00
Olivier Crête
12a6b9613b
rtpsession: Put the PLI requests in each RTPSource
...
Also refactor a bit and put all the keyframe request code in one
place inside rtpsession.c
https://bugzilla.gnome.org/show_bug.cgi?id=658419
2011-11-14 12:26:27 +01:00
Olivier Crête
59c028a4ce
rtpsession: Hack to FIR because Google doesn't set the sender ssrc correctly
...
https://bugzilla.gnome.org/show_bug.cgi?id=658419
2011-11-14 12:26:27 +01:00
Olivier Crête
0ad78db0a3
rtpsession: Process received Full Intra Requests
...
Process FIR requests according to RFC 5104
https://bugzilla.gnome.org/show_bug.cgi?id=658419
2011-11-14 12:26:27 +01:00
Vincent Penquerc'h
f4506d5181
avidemux: fix wrong stride when inverting uncompressed video
...
Such frames have a stride multiple of 4, see
http://lscube.org/pipermail/ffmpeg-issues/2010-April/010247.html .
This showed up on a sample using a odd width of 24 bit video.
https://bugzilla.gnome.org/show_bug.cgi?id=652288
2011-11-09 11:43:41 +00:00
Mark Nauwelaerts
9c3516116a
qtdemux: minimal sanity check on creation datetime
2011-11-09 10:33:18 +01:00
Olivier Crête
e15c293f13
rtph263ppay: Return the sink pad template as sink caps, not the src's
...
https://bugzilla.gnome.org/show_bug.cgi?id=577784
2011-11-08 15:53:39 +01:00
Olivier Crête
4b28d9d44e
rtph263ppay: Also implement size/framerate restrictions in getcaps
...
https://bugzilla.gnome.org/show_bug.cgi?id=577784
2011-11-08 15:53:18 +01:00
Olivier Crête
ff31090671
rtph263ppay: Implement getcaps following RFC 4629, picks the right annexes
...
https://bugzilla.gnome.org/show_bug.cgi?id=577784
2011-11-08 15:52:57 +01:00
Mark Nauwelaerts
4946cc5e7f
qtdemux: also set segment stop at startup rather than only post seek
...
... so as to ensure consistent playback with or without seek, especially
in presence of some bogus edit list entries.
2011-11-08 14:58:09 +01:00
Raul Gutierrez Segales
91af805636
gst/flv/: add amfdefs.h to noinst_HEADERS
...
https://bugzilla.gnome.org/show_bug.cgi?id=663334
2011-11-07 17:28:38 +00:00
Vincent Penquerc'h
cf3f3f14da
flvdemux: detect large pts gaps and resync
...
Should work on multiple gaps, but tested on only one.
https://bugzilla.gnome.org/show_bug.cgi?id=631430
2011-11-07 12:38:49 +00:00
Vincent Penquerc'h
14a9d1d66e
flacparse: fix last frame timestamp in fixed block size mode
...
The last block may have a different block size, so we should not
use it to scale or we'll end up with a wrong timestamp.
See comment and quote from the FLAC format documentation in the code.
Fixes looped playback of FLAC files (via about-to-finish).
https://bugzilla.gnome.org/show_bug.cgi?id=661215
2011-11-07 12:37:10 +00:00
René Stadler
2a139a28d9
matroskamux: fix regression causing malformed files
...
This was caused by me in 1b213d. It seems I was too focused on 0.11 when I did
this and tested the wrong branch.
The problem was reported by Alexey Fisher.
2011-11-07 12:00:12 +01:00
Tim-Philipp Müller
d65490dfad
rtp: use GLib's G_BIG_ENDIAN define instead of BIG_ENDIAN
...
Fixes compiler warning on mingw32
2011-11-03 23:28:31 +00:00
Mark Nauwelaerts
57684fee3a
qtmux: avoid shortcut evaluation when adding paired mp4 tag
...
Fixes (part of) #638711 .
2011-10-31 16:25:59 +01:00
Mark Nauwelaerts
00c8ae733d
matroskamux: do not use unoffical V_MJPEG codec id
...
... but as not spec'ed especially, consider it a VfW compatibility case.
Fixes #659837 .
2011-10-31 15:47:14 +01:00
Mark Nauwelaerts
96fc28eacd
qtdemux: elaborate some debug statements
2011-10-28 12:31:17 +02:00
Stas Sergeev
6b168ffb44
flvdemux: be careful with negative cts
...
Fixes #661477 .
2011-10-28 12:31:15 +02:00
Mark Nauwelaerts
4924308d02
matroskademux: tune non-update seek handling cases
...
Fixes #661049 .
2011-10-28 12:13:51 +02:00
Sebastian Dröge
c603bf9891
videomixer2: Use the clip function instead of the prepare_buffer function
2011-10-28 10:40:36 +02:00
Sebastian Dröge
ae07ebedc9
videomixer2: Use collectpads2 from core
2011-10-28 09:36:17 +02:00
Jan Schmidt
3b03db5e40
deinterlace: Don't pointlessly hold object lock over caps operations
...
Avoids a deadlock when getcaps is recursive due to the getcaps being
reflected upstream/downstream. The lock isn't actually protecting
anything here.
2011-10-28 00:41:45 +11:00
Jan Schmidt
f6255bb8d0
flvmux: add some comments and defines to clarify code.
2011-10-27 00:41:29 +11:00
René Stadler
1b213d905a
matroska: refactor ebml-write to be more 0.11 friendly
...
Switching to a more 0.11-friendly pattern, where getting the buffer's data
pointer and setting the size many times is less natural. This is of course in
preparation to the upcoming port of the plugin.
2011-10-21 23:17:16 +02:00
René Stadler
003a14e15a
matroska: remove stale floatcast include
...
GDOUBLE_TO_BE was moved to core a long time ago.
2011-10-21 22:41:57 +02:00
René Stadler
6fc85e6c9d
matroskamux: fix possible crash with malformed dirac codec_data
...
Since size is unsigned, we need to safeguard against wrapping below zero.
2011-10-21 22:41:57 +02:00
René Stadler
6082f27d48
equalizer: remove avoidable call to gst_object_set_name
2011-10-21 22:33:34 +02:00
René Stadler
dcd493279d
deinterlace: remove avoidable call to gst_object_set_name
2011-10-21 22:32:38 +02:00
René Stadler
5baca05ec3
ebml: small correction to previous commit
...
Signal a short read with UNEXPECTED, exactly like the peek_bytes function.
2011-10-21 10:03:14 +02:00
Edward Hervey
4b5f8ff8d1
ebml: Fix push-based behaviour
...
The 'peek' method was completely wrong (!?)
2011-10-19 13:10:47 +02:00
Arun Raghavan
cc7aeb3f33
videomixer2: Fix a leak
...
Buffers weren't being unref'ed in one case inside, causing memory usage
to blow up.
2011-10-14 13:10:49 +05:30
Marc Leeman
98075ad70d
set colour masks for video/x-raw-rgb in rtpvrawdepay
2011-10-14 09:32:47 +02:00
Arun Raghavan
4d3ee9005c
videomixer2: Fix incorrect gst_buffer_replace() call
...
This got exposed when gst_buffer_replace() was changed from a macro to a
function.
2011-10-13 16:59:50 +05:30
Edward Hervey
1b56d40170
rtpvrawpay: Only use 24 LSB for depth=24 RGB caps
...
... and indent the masks for clarity
2011-10-12 11:26:50 +02:00
René Stadler
26d0812543
matroskamux: fix segment handling, so we actually use running time
...
gst_matroska_mux_best_pad adjusts the buffer timestamp to running time using
the segment stored in the pad's collect data. However, the event handler didn't
pass the newsegment event on to collectpads' handler, so this segment was never
updated at all.
Re-fixes bug #432612 .
2011-10-11 14:58:43 +02:00
Sjoerd Simons
bf65acf11f
gstrtpg722pay: Compensate for clockrate vs. samplerate difference
...
The RTP clock-rate used for G722 is 8000, even though the samplerate is
16000. Compensate for this by pretending G722 has 8 bits per sample
instead of the 4 bits as if it were a codec that ran at half the speed,
but with twice the number of bits. Fixes #661376
2011-10-10 21:50:28 +01:00
Tim-Philipp Müller
ad245a0dc2
matroska-demux: don't leak audio codec_data buffer
2011-10-10 19:02:58 +01:00
Thiago Santos
ca417fd376
qtmux: Fix memory leak on atoms recovery function
...
Remember to free the ftyp data after writing it to a file.
Fixes #660969
2011-10-09 11:18:18 -03:00
Vincent Penquerc'h
be82dd8e3a
matroskademux: improve segment handling with non-zero starting timestamp
...
... as well as related items, such as seeking and position reporting.
https://bugzilla.gnome.org/show_bug.cgi?id=659808
2011-10-05 14:34:55 +02:00
Thiago Santos
535f92a0a4
qtmux: update esds atom under wave atom for aac bitrates
...
AAC in mov format puts an ESDS atom inside of a WAVE atom in
STSD atom, we need to update the bitrate on this ESDS. This patch
fixes it.
2011-09-30 13:05:24 -03:00
Thiago Santos
31acc88b39
qtmux: Also update btrt atom
...
When rewriting bitrates, also update the btrt atom under stsd
2011-09-30 13:05:24 -03:00
Thiago Santos
7a143ea94f
qtmux: Calculate average bitrate for streams
...
Calculate and use average bitrate for streams when no
bitrate tag was received
2011-09-30 12:43:13 -03:00
Thiago Santos
4737090594
qtmux: Avoid a buffer metadata copy if possible
...
If first_ts is 0 there is no need to subtract, so we might
skip some copying to make the buffer metadata writable.
2011-09-30 12:43:13 -03:00
Vincent Penquerc'h
671b56f9da
matroskademux: ensure minimal alignment for audio/x-raw-* buffers
...
Since matroskademux will attempt to push unaligned buffers,
downstream might have trouble with those, especially if downstream
uses ORC, such as audioconvert.
Ensure we push buffers aligned to the basic type at least for
those raw buffers.
https://bugzilla.gnome.org/show_bug.cgi?id=659798
2011-09-28 12:49:42 +02:00
Raimo Järvi
827c3aa14b
goom2k1: Fix compiler warnings on 64 bit mingw-w64
...
Fixes bug #660294 .
2011-09-28 00:18:15 +01:00
Julien Isorce
2131a3b7f8
ac3parse: correctly check for ac3/e-ac3 switch
...
https://bugzilla.gnome.org/show_bug.cgi?id=659943
2011-09-23 16:26:50 +01:00
Mark Nauwelaerts
fd757890eb
rtph264depay: improve downstream flow return feedback to upstream
...
... although basertpdepay does not really make it easy/possible to do so
all the way.
2011-09-20 14:14:39 +02:00