| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Signed-off-by: Alex Converse <[email protected]>
|
|
|
|
|
|
| |
incoming samples.
Signed-off-by: Alex Converse <[email protected]>
|
|
|
|
| |
Signed-off-by: Alex Converse <[email protected]>
|
|
|
|
| |
Signed-off-by: Alex Converse <[email protected]>
|
|
|
|
|
|
| |
This should be moved to tablegen at some point.
Signed-off-by: Alex Converse <[email protected]>
|
|
|
|
|
|
| |
to float.
Signed-off-by: Alex Converse <[email protected]>
|
|
|
|
| |
Signed-off-by: Alex Converse <[email protected]>
|
|
|
|
|
|
| |
it more clear what is being calculated.
Signed-off-by: Alex Converse <[email protected]>
|
|
|
|
|
|
| |
Also fix a typo.
Signed-off-by: Alex Converse <[email protected]>
|
|
|
|
| |
Signed-off-by: Alex Converse <[email protected]>
|
|
|
|
|
|
| |
Macroify sanity checks and check return values of allocs and other functions.
Signed-off-by: Alex Converse <[email protected]>
|
|
|
|
| |
Signed-off-by: Kostya Shishkov <[email protected]>
|
|
|
|
|
|
|
| |
This matches the spec as well as the reference decoder, and fixes a bug
with interlaced frame decoding.
Signed-off-by: Kostya Shishkov <[email protected]>
|
| |
|
|
|
|
| |
They have no code in common.
|
| |
|
|
|
|
|
|
| |
Reported and reviewed by Derek Buitenhuis.
Signed-off-by: Janne Grunau <[email protected]>
|
| |
|
|
|
|
| |
The most recent demuxing/seeking code does not need them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This uses the old demuxing code for OP1a and separate demuxing code for OPAtom.
Timestamp output is added to the old demuxing code.
The seeking code is made to seek to the start of the desired EditUnit only,
from which the normal demuxing code takes over (if OP1a). This means we
do not use delta entries or slices, only StreamOffsets. OPAtom seeking
basically works like before.
This also makes D-10 seeking behave the same way as OP1a and OPAtom. In other
words, we allow seeking before the start or past the end for D-10 too.
Based on several patches by Tomas Härdin <[email protected]> and
Reimar Döffinger <[email protected]>.
Changed av_calloc to av_mallocz, added overflow checks.
|
|
|
|
| |
Signed-off-by: Janne Grunau <[email protected]>
|
|
|
|
|
|
|
|
|
| |
It is a really bad idea to assign a video codec id
when we have set codec_type to audio and vice versa.
Prevents detection of mp2 in mxf as mpeg2video.
Signed-off-by: Janne Grunau <[email protected]>
|
|
|
|
|
|
| |
This replaces the old essence_offset code.
Signed-off-by: Janne Grunau <[email protected]>
|
|
|
|
| |
Signed-off-by: Janne Grunau <[email protected]>
|
|
|
|
|
|
| |
This is not an error and expected behavior for OPAtom files.
Signed-off-by: Janne Grunau <[email protected]>
|
|
|
|
|
|
| |
This also zeroes new entries for good measure (used by future patches).
Signed-off-by: Janne Grunau <[email protected]>
|
|
|
|
| |
Signed-off-by: Janne Grunau <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Specifically, this means parsing as before until we run into essence.
At that point we seek to the footer and parse until EOF. After that we start
seeking backward to the previous partition and parse that until we run into
essence or the next partition. This procedure is repeated until we encounter
the last partition we parsed in the forward direction.
The end result of all this is that large essence containers are not needlessly
parsed. This speeds up parsing large files a lot.
Signed-off-by: Janne Grunau <[email protected]>
|
|
|
|
|
|
|
|
|
| |
source track.
This fixes 0001GL.MXF.V1.mxf_opatom.mxf and 0001GL00.MXF.A1.mxf_opatom.mxf
getting two streams each due to both using the same SourcePackageID.
Signed-off-by: Janne Grunau <[email protected]>
|
|
|
|
| |
Signed-off-by: Janne Grunau <[email protected]>
|
|
|
|
|
|
| |
present.
Signed-off-by: Janne Grunau <[email protected]>
|
|
|
|
|
|
|
| |
Based on patch from Tomas Härdin <[email protected]>
and work by Georg Lippitsch <[email protected]>
Changed av_calloc to av_mallocz and added overflow checks.
|
|
|
|
| |
Signed-off-by: Janne Grunau <[email protected]>
|
|
|
|
|
|
| |
Avoid modifying state if avio_seek fails.
Signed-off-by: Janne Grunau <[email protected]>
|
|
|
|
|
|
|
|
| |
This fixes reading of partition packs. The code stops reading after the
operational pattern and should skip the array of essence container
labels that follow.
Signed-off-by: Janne Grunau <[email protected]>
|
| |
|
|
|
|
|
|
|
| |
Now that 0.8 is out we can reapply this commit. It breaks shared
avserver builds due to avserver using internal libavformat symbols,
which are now hidden, so this commit also disables avserver with
--enable-shared.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This avoids (for all practical cases) the issue of reusing
the same UDP port as for an earlier connection. If the remote
doesn't know the previous session was closed, he might keep
on sending packets to that port. If we always start off trying
to open the same UDP port, we might get those packets intermixed
with the new ones.
This is occasionally an issue when testing RTSP stuff with
DSS, perhaps also with other servers.
Signed-off-by: Martin Storsjö <[email protected]>
|
|
|
|
| |
Signed-off-by: Martin Storsjö <[email protected]>
|
|
|
|
|
|
|
|
| |
This check isn't relevant in the way the code currently works.
Also change a case of if (x == 0) into if (!x).
Signed-off-by: Martin Storsjö <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The s->ssrc field is the sender's SSRC, we use ssrc + 1 to get
a collision free "unique" SSRC for ourselves in the RR part.
The SDES block in the RTCP packet should describe ourselves,
not the sender.
This was fixed for the RR part in 952139a3226b, but wasn't
fixed for the SDES part until now.
This could cause some Axis cameras to send RTCP BYE packets
to us due to the SSRC collision.
Signed-off-by: Martin Storsjö <[email protected]>
|
| |
|
| |
|
|
|
|
|
|
| |
Using threaded decoding by default breaks backward compatibility if
AVHWAccel is used or if an appliction sets threadunsafe callbacks.
Avconv and avplay still use -threads auto if not specified.
|
|
|
|
|
| |
They are used to signal the number of slices and offsets of each slice
out of band to the decoder.
|
|
|
|
|
|
|
| |
Also include stdlib.h explicitly - currently it is used
implicitly via avformat.h.
Signed-off-by: Martin Storsjö <[email protected]>
|
| |
|
|
|
|
|
|
|
| |
This temporarily (until 0.8 is released) reverts commit
8e1340abc316e038bb89e5a3b46e92ff58c98a88. That commit breaks shared
builds because of symbol hiding. Reverting it will enable shared builds
for 0.8
|
|
|
|
| |
Signed-off-by: Anton Khirnov <[email protected]>
|