"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/AV/AVWrapper.h" between
ssr-0.3.10.tar.gz and ssr-0.3.11.tar.gz

About: SimpleScreenRecorder is a screen (video-audio) recorder for Linux.

AVWrapper.h  (ssr-0.3.10):AVWrapper.h  (ssr-0.3.11)
skipping to change at line 45 skipping to change at line 45
#define AV_PIX_FMT_BGRA PIX_FMT_BGRA #define AV_PIX_FMT_BGRA PIX_FMT_BGRA
#define AV_PIX_FMT_RGBA PIX_FMT_RGBA #define AV_PIX_FMT_RGBA PIX_FMT_RGBA
#define AV_PIX_FMT_ABGR PIX_FMT_ABGR #define AV_PIX_FMT_ABGR PIX_FMT_ABGR
#define AV_PIX_FMT_ARGB PIX_FMT_ARGB #define AV_PIX_FMT_ARGB PIX_FMT_ARGB
#define AV_PIX_FMT_YUV420P PIX_FMT_YUV420P #define AV_PIX_FMT_YUV420P PIX_FMT_YUV420P
#define AV_PIX_FMT_YUV422P PIX_FMT_YUV422P #define AV_PIX_FMT_YUV422P PIX_FMT_YUV422P
#define AV_PIX_FMT_YUV444P PIX_FMT_YUV444P #define AV_PIX_FMT_YUV444P PIX_FMT_YUV444P
#define AV_PIX_FMT_NV12 PIX_FMT_NV12 #define AV_PIX_FMT_NV12 PIX_FMT_NV12
#endif #endif
#if !SSR_USE_AV_CODEC_CAP
#define AV_CODEC_CAP_DELAY CODEC_CAP_DELAY
#define AV_CODEC_CAP_EXPERIMENTAL CODEC_CAP_EXPERIMENTAL
#define AV_CODEC_CAP_VARIABLE_FRAME_SIZE CODEC_CAP_VARIABLE_FRAME_SIZE
#endif
#if !SSR_USE_AV_CODEC_FLAG
#define AV_CODEC_FLAG_GLOBAL_HEADER CODEC_FLAG_GLOBAL_HEADER
#define AV_CODEC_FLAG_QSCALE CODEC_FLAG_QSCALE
#endif
// A trivial class that holds (aligned) frame data. This makes it easy to implem ent reference counting through std::shared_ptr. // A trivial class that holds (aligned) frame data. This makes it easy to implem ent reference counting through std::shared_ptr.
class AVFrameData { class AVFrameData {
private: private:
uint8_t *m_data; uint8_t *m_data;
size_t m_size; size_t m_size;
public: public:
inline AVFrameData(size_t size) { inline AVFrameData(size_t size) {
m_data = (uint8_t*) av_malloc(size); m_data = (uint8_t*) av_malloc(size);
if(m_data == NULL) if(m_data == NULL)
throw std::bad_alloc(); throw std::bad_alloc();
 End of changes. 1 change blocks. 
0 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)