- 09 Apr, 2012 5 commits
-
-
Justin Ruggles authored
Use default alignment in audio_get_buffer()
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Anton Khirnov authored
It's only used inside transcode_video() and there's no point in preserving it between subsequent calls. So use a local variable instead.
-
Anton Khirnov authored
No point in repeating the assignment for each output stream.
-
- 08 Apr, 2012 9 commits
-
-
Justin Ruggles authored
Set avctx->channel_layout to 0 if the channel count does not match avctx->channels.
-
Nicolas George authored
Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Justin Ruggles authored
Based on a patch by Clément Bœsch <ubitux@gmail.com>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Gwenole Beauchesne authored
VASliceParameterBufferMPEG2.slice_vertical_position shall express the slice vertical position from the original bitstream. The HW decoder will correctly decode to the right line computed from the appropriate top_field_first and is_first_field flags. This patch aligns with DXVA's definition, which is what most HW and drivers expect. In particular, Intel PowerVR (Cedarview et al.) and NVIDIA (through VA-to-VDPAU layer). Since it looks more complex to fix binary drivers, I aligned the Intel Gen driver (Sandy Bridge et al.) to this behaviour, while maintaining compatibility with codec layers not providing this patch yet. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> Signed-off-by: Martin Storsjö <martin@martin.st>
-
Gwenole Beauchesne authored
If user opted to present fields as they come, then the first field picture needs to be submitted to the HW for decoding. In particular, this fixes MPEG-2 decoding of interlaced streams. Tested on Intel Cedar Trail, Sandy Bridge and Ivy Bridge platforms. Someone reported on the ffmpeg-devel@ list this also works on DXVA (Windows) and other Linux platforms (NVIDIA, through the VA wrapper). This also means a similar patch to non-hwaccel VDPAU may be necessary. Note: I believe the SLICE_FLAG_ALLOW_FIELD is useless since the first field shall always be submitted to the HW anyway. Nobody uses HW accels (dxva, vaapi, vdpau, etc.) without that flag though. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This avoids exposing a dummy AVStream which won't get any data and which will make avformat_find_stream_info wait for info about this stream. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 06 Apr, 2012 13 commits
-
-
Martin Storsjö authored
Searching for packet markers doesn't make sense for this use case, where packets are fed one at a time to the demuxer. This fixes playing back streams that have packets not starting with the 0x82, 0x00, 0x00 marker. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Some streams don't contain these. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
Since the mandatory memcpy in vsrc_buffer has been eliminated, there shouldn't be any significant reason to build without lavfi anymore. This will make upcoming support for complex filtergraphs easier to do.
-
Reimar Döffinger authored
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Martin Storsjö <martin@martin.st>
-
Joakim Plate authored
It can take a long time before subtitles or data streams show up, so we shouldn't wait for those before assuming we have all info for streams. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
If get_filtered_video_frame failed above, tb might not be initialized at all, so don't scale using it. This fixes cases where avplay could crash if aborting avformat_find_stream_info with ctrl+c. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Also add missing trailing commas, break long codec_tag lines and add spaces in codec_tag declarations. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Anne Aaron authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 05 Apr, 2012 5 commits
-
-
Justin Ruggles authored
It is not public because the header is not installed, and its functionality has been replaced by av_get_default_channel_layout().
-
Justin Ruggles authored
Also, use the new function in the AC-3 encoder.
-
Diego Biurrun authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
- 04 Apr, 2012 8 commits
-
-
Christophe GISQUET authored
All the more required since the users are pure SSE functions. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Christophe GISQUET authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Christophe GISQUET authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
Fixes bug 269.
-
Diego Biurrun authored
This fixes the warning: libavcodec/aacenc.c:524: warning: passing argument 2 of ‘deinterleave_input_samples’ discards qualifiers from pointer target type
-
Diego Biurrun authored
This fixes the following warning: libavfilter/vf_unsharp.c:106: warning: initialization discards qualifiers from pointer target type
-
Anton Mitrofanov authored
Fixes bug 239. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-