Matthieu Bouron
cb89fd2334
lavc/mediacodec: rename MediaFormat field clazz to mediaformat_class for consistency
9 years ago
Matthieu Bouron
56ef387e21
lavc/mediacodec: move struct declarations at the begin
9 years ago
Matthieu Bouron
79efd3b8b8
lavc/mediacodec: rename jfields_mapping to jni_amediacodeclist_mapping
9 years ago
Matthieu Bouron
f2e7f9966e
lavc/mediacodec: do not delete a local reference twice in case of error
9 years ago
Michael Niedermayer
153ab83bd3
avcodec/utils: check skip_samples signedness
...
Fixes Ticket5528
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Muhammad Faiz
77d4dfbec6
avfilter/af_firequalizer: add zero_phase option
...
simply by substracting pts to compensate delay
also handle AV_NOPTS_VALUE
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
9 years ago
Michael Niedermayer
e7f658be57
avdevice/dshow: Fix frame rate
...
Fixes: Ticket5526
Tested-by: kgp700
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Martin Vignali
a2b2af791c
Changelog : add OpenExr improvements
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timo Rothenpieler
808356c61c
avcodec/nvenc: Check capabilities for interlaced encoding
9 years ago
Michael Niedermayer
a5eb70ad95
avformat/mpegts: Do not trust BSSD descriptor, it is sometimes not an S302M stream
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Martin Vignali
9511a0895d
avcodec/exr: indent b44 uncompress function
9 years ago
Martin Vignali
bc1f3dfaa3
avcodec/exr: fix decoding of B44 exr when all channel doesnt have the same pixel type
9 years ago
Martin Vignali
df7cd4176a
avcodec/exr: move channel_line_size to thread data
...
In order to be used by b44 uncompress.
9 years ago
Martin Vignali
03152e74df
avcodec/exr: improve pxr24 uncompress
...
Fix pxr24 uncompress when all channels doesnt have the same pixel type.
The expected length after zip decoding, is now calculated channel by channel.
9 years ago
Martin Vignali
16107aeaf3
avcodec/exr: remove unneed scanline_size var
9 years ago
Martin Vignali
42297d8419
avcodec/exr: fix tile decoding when all channels doesnt have the same pixel type
...
Also simplify the tile code, sharing more code with the scanline mode.
9 years ago
Martin Vignali
d24eb9a3c6
avcodec/exr: indent the if (layer_match) part
9 years ago
Martin Vignali
753088a2a4
avcodec/exr: fix layer detection
...
Only test a channel if the layer name match.
Avoid to try to mix channel between the main layer (rgba layer),
and the layer request by the user.
9 years ago
Michael Niedermayer
43a4276c69
avcodec/bmp_parser: Check fsize
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
37005e65eb
avcodec/bmp_parser: reset state
...
Fixes part of ticket 5598
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
250b620d29
avcodec/bmp_parser: Fix remaining size
...
Fixes part of ticket 5598
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
bfe945ac3a
avcodec/bmp_parser: Fix frame_start_found in cross frame cases
...
Fixes part of ticket 5598
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
b5bc436ebc
avformat/matroskadec: Fix rounding error with codec_delay
...
Fixes Ticket5509
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
bacc4b6e81
avcodec/wmalosslessdec: Use unsigned operations for overflowing cases
...
Fixes undefined behavior in fate-lossless-wma24-2
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
5a8b41b4a7
avformat/movenc: Skip unsupported video tracks in timecode generation
...
Fixes Ticket5414
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
abc957e896
avfilter/af_amix: dont fail if there are no samples in output_frame()
...
Fixes Ticket5326
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Vivekanand
b092ee701f
avformat/allformats: Making av_register_all() thread-safe.
...
When multiple threads tries to call av_register_all(), the first thread sets
initialized to 1 and do the register process. At the same time, other thread might
also call av_register_all(), which returns immediately because initialized is set to 1
(even when it has not completed registering codecs). We can avoid this problem
if we set initialised to 1 while exiting from function.
Github: Closes #196
9 years ago
Michael Niedermayer
f730367a60
avcodec/mpeg4videodec: Fix default low_delay flag value if not coded
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
87c53e5354
avcodec/mpeg4videodec: Print low_delay value with -debug 1 in decode_vol_header()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Thomas Mundt
a0a4a4b370
avfilter/vf_colormatrix: add bt.2020 colorspace
...
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Thomas Mundt
2e395bbccf
avfilter/vf_colormatrix: increase precision
...
Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
13aae86a2b
avutil/frame: Assert that width/height/channels is 0 for the destination of av_frame*_ref()
...
This should detect caes where these functions are called in unclean destinations
9 years ago
Michael Niedermayer
3bc060f366
doc/examples/transcoding: Use the decoders pixel format if the encoder does not list which are supported
...
This affects rawvideo and wraped_avframe, no others are affected atm
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
134cba728b
Seperate x264rgb encoder and only enable when its actually supported
...
This avoids enabling and building the x264rgb encoder when its actually not supported and
thus would not work
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
2ccf9ae6cc
avformat/format: Print debug info when probe score is increased due to mime type
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
5fb6e39dd1
avcodec/cfhd: clear idwt_buf on allocation
...
This avoids use of uninitialized variables and might make bugs in general
easier to reproduce
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
f90c9c306f
Check av_dup_packet() return code
...
Fixes: CID1338320
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
39c0b22df4
avcodec/mpegvideo: Deallocate last/next picture earlier
...
Fixes regression with mplayers direct rendering and reduces buffer count
pressure in some cases
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
bb3388fd60
avformat/dump: Print tbc value
...
Fixes regression of av_dump_format()
Fixes part of Ticket 5444
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
d953b2857b
avcodec/utils: initialize delay in avcodec_parameters_to_context()
...
Fixes lost codec delayy
Should fix Ticket5509
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Timo Rothenpieler
7c55f5d782
avcodec/nvenc: Don't set packet duration
...
It's not expected to be set on video packets and causes issues in
ffmpeg.c.
9 years ago
Muhammad Faiz
1e6a0c9d14
avfilter/avf_showcqt: render default font at 960x16
...
and let ffmpeg scaler scale it
this impoves quality
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
9 years ago
Michael Niedermayer
958bf659d8
avdevice/lavfi: Do not set avg_frame_rate to the timebase
...
Fixes regression
Fixes Ticket5422 (The timebase is 1/25k but the fps are not 25k)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
b28e102875
avformat/version: Add Ticket5421 to list of tickets possibly affected by a major bump
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
fc07972582
avformat/dump: Use codec and QP limits from AVCodecContext
...
Fixes regression
Fixes Ticket5421
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Jan Sebechlebsky
0e84eee719
libavutil/fifo: Fix fifo grow step
...
Fifo was reallocating always to twice of the requested size.
This fixes it to reallocate to requested size, or twice of the
original size - whichever is greater.
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Nicolas George
8b05a7ffe4
lavf/udp: fix dead code.
...
Since d607861
, service can not be NULL, only "0".
An UDP address with neither local port nor address leaves both
service and node to their default value, and POSIX specifies
that they are not allowed to be both NULL; "0" is equivalent
to an unspecified port for all currently known protocols.
Fix CID 1341570.
9 years ago
Thomas Bernard
1f8c0e44cb
avformat/au: Write MetaData in AU Sun audio file header
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Matthieu Bouron
12f47539ca
lavc/mediacodecdec_h264: rename input_ref to input_pkt
9 years ago
Matthieu Bouron
15432a903e
lavc/mediacodecdec_h264: switch to new BSF API
9 years ago