Rafaël Carré and Luca Barbato
5b27c307e7
flvenc: do not mux more than one stream per type
...
FLV does not support multiple audio or video streams.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2013-04-16 10:31:38 +02:00
Rafaël Carré and Anton Khirnov
a25d912dca
avcodec_encode_audio(): fix invalid free
...
Since 2bc0de385 , AVFrame needs to be initialized
before calling avcodec_get_frame_defaults().
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2012-10-16 18:49:31 +02:00
Rafaël Carré and Diego Biurrun
562ebc3077
dxva2: don't check for DXVA_PictureParameters->wDecodedPictureIndex
...
This structure is well defined by Microsoft at:
http://msdn.microsoft.com/en-us/library/windows/hardware/ff564012(v=vs.85).aspx
Thus, the wDecodedPictureIndex member is guaranteed to exist.
Also, both the MPEG-2 and VC-1 hwaccel decoders depend on this struct member,
but only the VC-1 decoder was disabled if the check failed.
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2012-02-22 22:04:03 +01:00
Rafaël Carré and Diego Biurrun
b24aaabd44
remove ParseContext1
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2012-02-10 15:48:52 +01:00
Rafaël Carré and Diego Biurrun
797639dcfd
vc1: use ff_parse_close
...
It works as long as ParseContext is the first member of the private struct
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2012-02-10 15:48:52 +01:00
Rafaël Carré and Diego Biurrun
07554ace70
mpegvideo parser: move specific fields into private context
...
This obviates using ParseContext1, which is slated for removal.
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2012-02-10 15:48:51 +01:00
Rafaël Carré and Diego Biurrun
e40924887a
mpeg4video parser: move specific fields into private context
...
This obviates using ParseContext1, which is slated for removal.
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2012-02-10 15:48:51 +01:00
Rafaël Carré and Diego Biurrun
53a09964f0
cavs parser: fix parser context type
...
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2012-02-10 15:48:51 +01:00
Rafaël Carré and Anton Khirnov
420df8b7c4
avformat_write_header(): detail error message
...
Give the exact aspect ratios when there is a mismatch between encoder
and muxer.
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2012-01-30 07:32:57 +01:00
Rafaël Carré and Luca Barbato
37c0dc626d
lavc: always align height by 32 pixel
...
Interlaced content for most codec requires it.
This patch is a stop-gap pending a serious rework to support
codecs with non 16 pixel macroblocks.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2011-12-21 00:00:23 +01:00
Rafaël Carré and Luca Barbato
7efea2a051
dxva2.h: include d3d9.h to define LPDIRECT3DSURFACE9
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2011-12-07 16:54:23 +01:00
Rafaël Carré and Martin Storsjö
be1e872582
configure: Store vda lib flags in extralibs instead of ldflags
...
This way the needed linking flags end up in libavcodec.pc.
Signed-off-by: Martin Storsjö <martin@martin.st >
2011-11-25 15:52:55 +02:00