Francois Cartegnie
1fb3dfd8c1
vlc_text_style: wrap tx3g specifics in decoder
11 years ago
Francois Cartegnie
8d860e2941
codec: subsusf: fix NULL dereference
11 years ago
Francois Cartegnie
ab9c3b3607
codec: cc: add background variable ( fix #9977 )
11 years ago
Francois Cartegnie
5a76772231
codec: zvbi: fix confusing variable description
11 years ago
Francois Cartegnie
4dec56b69c
codec: cc: add missing module category
11 years ago
Ilkka Ollakka
302f74f91b
avcodec: use framerate as time_base seems to be debrecated in 0.56
Libav/ffmpeg seems to store littlebit different values in framerate, so
there is #if to check that. Not sure if it's good idea at all to do that
like this.
11 years ago
Ilkka Ollakka
3068a84956
avcodec: refactor frame_rate probing into own function
if codec has list of supported framerates, select highest one
unless user has provided one. If we end up using CLOCK_FREQ in
time_base, it should be quite ok in most cases. Tested with ts/mp4/webm
and mp2v/mp4v/VP80. For some cases it can select higher fps in
mpeg-codecs (60fps) in case of input fps isn't yet known in that point
or is fubared.
Also add special case for MP4V as it doesn't like CLOCK_FREQ in
time_base/frame_rates.
11 years ago
Ilkka Ollakka
50f98e2a78
avcodec: cosmetic, fix indenting
11 years ago
Ilkka Ollakka
5a867c6dd4
avcodec: scale pts values to libavcodec scale
Otherwise bitrate control is quite fobar.
Fixes #11538
Pointed out by Sesse
11 years ago
Francois Cartegnie
b7167cb393
text_style: use monospace flag instead of boolean
11 years ago
Francois Cartegnie
6d442985ab
codec: cc: add monospaced style to segments
11 years ago
Francois Cartegnie
6e0c141cfd
codec: cc: remove font forcing
Setting up font name can't't force font type since
monotype font switch isn't handled by renderer.
11 years ago
Francois Cartegnie
2dc335b154
codec: cc: missing EnsureUtf8
11 years ago
Francois Cartegnie
112f756611
codecs: cc: convert styling to text_segment
11 years ago
Francois Cartegnie
38fe1f1a24
substext: fix null dereference
11 years ago
Thomas Guillem
5ef42a880f
videotoolbox: convert Annex B to avvC
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
11 years ago
Thomas Guillem
91beec44d5
videotoolbox: use nal length size parsed from avcC extradata
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
11 years ago
Thomas Guillem
3c0f610282
h264_nal: add h264_create_avcdec_config_record
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
11 years ago
Thomas Guillem
08e519a420
android: AWindowHandler_releaseSurface now release the ANativeWindow
11 years ago
Thomas Guillem
52e2e90f91
Revert "android: rework AWindowHandler interface"
This reverts commit 159a6f1eb0 .
This is finally not needed by a future patch, and it's less obvious.
11 years ago
Felix Paul Kühne
f4cb3f9919
videotoolbox: added support for ProRes
11 years ago
Thomas Guillem
159a6f1eb0
android: rework AWindowHandler interface
Use the jsurface instead of the id for AWindowHandler_getANativeWindow and
AWindowHandler_setBuffersGeometry.
AWindowHandler_releaseSurface now release the jsurface and the ANativeWindow.
11 years ago
Thomas Guillem
3fc28a0bc6
avcodec: fix invalid free
Initialize frame to NULL before goto end
11 years ago
Felix Paul Kühne
84c306e232
videotoolbox: re-write frame reordering
11 years ago
Thomas Guillem
4a8dc0f008
h264_nal: fix confusion between NAL size and NAL length size.
11 years ago
Thomas Guillem
a6a3652d8f
videotoolbox: fix memleak
11 years ago
Thomas Guillem
fadb01ca4a
videotoolbox: don't try to open h264 if there is no extra data
And wait for extradata parsed from the input.
11 years ago
Thomas Guillem
6f1334f170
videotoolbox: fail if convert_sps_pps fails
This partially revert 1af77eb55a
11 years ago
Hannes Domani
7a06d63a3b
avcodec: fix memory leak
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Felix Paul Kühne
d962b8260d
omxil: split timestamp helper to re-useable header
11 years ago
Thomas Guillem
deb4ea2e73
videotoolbox: remove unused variables
11 years ago
Thomas Guillem
250f728dad
videotoolbox: fix invalid free
11 years ago
Thomas Guillem
1af77eb55a
videotoolbox: don't try to parse Annex B if current stream is avcC
11 years ago
Thomas Guillem
c3dec45d9b
h264_nal: remove unused H264ConvertState
11 years ago
Thomas Guillem
0706192dad
mediacodec: fix psz_name set to NULL
It's allocated and freed from Open/Close now.
11 years ago
Thomas Guillem
94bd3e7f39
mediacodec: only some decoders assert if there is no channels
For now, only Marvell decoders seem to assert if channels count is 0.
11 years ago
Thomas Guillem
3e224b10ad
mediacodec: fetch codec name at Open
And don't do a late opening if there is no decoder available.
11 years ago
Thomas Guillem
f56a649598
mediacodec: use p_sys in OpenDecoder
11 years ago
Felix Paul Kühne
5941dc1bc0
videotoolbox: various small improvements, bug fixes and cleanup
11 years ago
Thomas Guillem
dd873cc234
mediacodec: add audio decoder
Disabled by default. Enable it with the "mediacodec-audio" option.
11 years ago
Thomas Guillem
8c5e501690
mediacodec: refactor StartMediaCodec
Add ParseVideoExtra that parse video extra data for h264/hevc.
Leave room for a possible ParseAudioExtra.
11 years ago
Thomas Guillem
935db7d617
mediacodec: refactor DecodeVideo
Rename DecodeVideo to DecodeCommon.
DecodeCommon use 2 callbacks to put Video and Audio specific code. These
callbacks are called when a new block is processed and when it try to get an
output buffer.
11 years ago
Thomas Guillem
8665dd328d
mediacodec: refactor video specific code in Open/Close
11 years ago
Thomas Guillem
d29b6ccefe
mediacodec: put video arguments in a struct
Add an union for future audio arguments.
11 years ago
Thomas Guillem
5bba18bc19
mediacodec: refactor block check
11 years ago
Thomas Guillem
b11cd7d1ca
mediacodec: jni: fix GET_INTEGER crashes
It happens when fetching the "channel-mask" property.
11 years ago
Thomas Guillem
c82f52485f
mediacodec: add audio support in mc_api
11 years ago
Thomas Guillem
286d215c73
mediacodec: add a bool to know when decoder is configured
11 years ago
Thomas Guillem
b425c1b219
mediacodec: add disabled mpeg2
Disabled since it's not tested enough.
11 years ago
Hugo Beauzée-Luyssen
551d9d3087
subsdec: Remove space trimming code, the renderer already handles it
11 years ago