Martin Storsjö
d05c17272e
mft: Use the right index for IMFSample_GetBufferByIndex
The input stream id is completely unrelated to the input
sample buffer index - the sample allocated in AllocateInputSample
contains one single media buffer, at index 0.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Felix Paul Kühne
0b9f0d2116
swscale: fix compilation if avcodec and avformat are disabled
12 years ago
Jean-Baptiste Kempf
c9b8c8b964
avcodec: map YUVA 4:4:4
12 years ago
Thomas Guillem
1ab2a942a2
iomx-dr: fix crash if anwpriv.connect fails
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Hugo Beauzée-Luyssen
991286613d
mft: Provide the library that contains some of the uuids we're using
12 years ago
Hugo Beauzée-Luyssen
d78e3a654f
modules: Remove use of gcc specific conditionals with omitted operands
12 years ago
Thomas Guillem
40aa75316d
mediacodec: fix crash when color-format is invalid
Fail if GetVlcChromaFormat return 0.
(It'll throw a HardwareAccelerationError)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Thomas Guillem
43b9867784
omxil: fix crash if OMX_AllocateBuffer fails (debug build only)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Thomas Guillem
ab4c04f2f5
mediacodec: cleanly abort DecodeVideo if GetOutput failed
- Fix possible infinite loop with sw rendering if GetOutput failed.
- Don't return a pic and don't release the block in case of error_state.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Jean-Baptiste Kempf
429b0c7a08
VDA: silence a warning
12 years ago
Jean-Baptiste Kempf
df9c1aa438
VDA: fix typo
12 years ago
Rémi Denis-Courmont
fe4fa8c944
rawvideo: remove negative video height, signed overflow
12 years ago
Rémi Denis-Courmont
e623f83cf2
vout: remove unimplemented GET_OPENGL controls
12 years ago
Rémi Denis-Courmont
9bf41d6aeb
avcodec: fix double free on error
12 years ago
Thomas Guillem
6e2f490956
mediacodec: exception in getCapabilitiesForType is not critical.
fix mediacodec with android-L on Nexus 7v2.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Thomas Guillem
05644c1e54
mediacodec: fix jni leak
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Thomas Guillem
4e32abb170
mediacodec: fix comparison between signed and unsigned warning
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Thomas Guillem
d26fefcfa7
android/jni: use a libvlcjni function to attach/detach java thread
Fix ART warning about java thread attached without a name.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Thomas Guillem
7123af0275
mediacodec: fix unused variable warning
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Thomas Guillem
da609fc903
omxil: add VP8 and VP9 in format_table
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Rémi Denis-Courmont
dbdd63484c
mft: fix format string
12 years ago
Tristan Matthews
fd1e287a11
png: encoder: encode visible lines, but use pitch for offset
12 years ago
Tristan Matthews
47431e192b
png: encoder: really fix row offset calculation
12 years ago
Julian Scheel
072f409f86
codec/zvbi: Do not follow dead color-links
If a color-key is requested check the stored nav-link to be in the valid page
range before following it. This avoids unexpected disappearance of the
teletext overlay if a color-link does not exist or is not yet loaded.
Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Julian Scheel
47012982d2
codec/zvbi: Only reset subpicture in text mode
The subpicture reset, as stated in the comment, is only required when
rendering text-subtitles. In fact it causes an invalid image to be generated
and possibly output in non-text mode. Hence disable the picture recreation for
non-text mode.
Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Thomas Guillem
6893b7a44a
omxil: use convert_hevc_nal_units for hevc
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Thomas Guillem
5e19ce9366
mediacodec: use convert_hevc_nal_units for hevc
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Thomas Guillem
7b79a086f4
add convert_hevc_nal_units in hevc_nal.c
utility function to convert hvcC extradata to annex b.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Thomas Guillem
86630a153c
mediacodec: add hevc mimetype
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Thomas Guillem
a0e7320b4a
omxil: add hevc in format_table
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Rémi Denis-Courmont
97ef362841
avcodec: map AV_CODEC_ID_NONE
12 years ago
Rémi Denis-Courmont
a9ac943471
avcodec: fix double free
12 years ago
David Fuhrmann
fd67a259ea
codec: libass: show dialog for fontconfig cache recreation on osx
close #12014
12 years ago
Rémi Denis-Courmont
2cab85e881
avcodec: fix pointer aliasing
av_freep() requires a pointer to void *. Nothing else is defined.
12 years ago
Rémi Denis-Courmont
4e54f29787
avcodec: avcodec_alloc_frame() requires avcodec_free_frame()
12 years ago
Thomas Guillem
1220075aa0
omxil-dr: reorient video
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Thomas Guillem
cd6fd1d8eb
omxil: split iomx_hwbuffer.cpp
As iomx_hwbuffer.cpp contains mainly call to private native window from
system/window.h:
- move system window calls to modules/video_output/android/nativewindowpriv.c
- move get_hal_format to iomx.cpp
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Ilkka Ollakka
2ba75ec6a5
avcodec: use VLC_CODEC_
12 years ago
Tristan Matthews
1023ecb97f
twolame: fix chain deallocation
12 years ago
Tristan Matthews
033cdd9009
flac: reset decoder on end of stream ( fixes #9298 )
12 years ago
Tristan Matthews
9ab9aa3708
twolame: avoid buffer overflow
Refs #12298
12 years ago
Tristan Matthews
9b196c6333
twolame: add error checking
12 years ago
Tristan Matthews
ba3094452b
theora: cleanup
Remove dead code and superfluous width/height variables.
12 years ago
Tristan Matthews
77d7c36987
daala: encoder: add support for 444
12 years ago
Tristan Matthews
9e2997dd6b
daala: encoder: fix stride
12 years ago
Francois Cartegnie
eeb90473f6
fourcc: add EIA608
12 years ago
Tristan Matthews
e0a1923749
daala: add encoder
12 years ago
Ilkka Ollakka
114d584be0
use CLOCK_FREQ
12 years ago
Carola Nitz
ee6ad75af0
fix ee961d8fa4
Signed-off-by: Rafaël Carré <funman@videolan.org>
12 years ago
Hannes Domani
59c8ec8a54
zvbi: return actual last visible row
Currently in most cases the row after the last is returned.
When the last row is visible vbi_draw_vt_page_region() could
crash, because it went over the size of p_page.text and use
invalid values (>=40) as index for p_page.color_map.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago