summaryrefslogtreecommitdiff
path: root/ext/ffmpeg/gstffmpegcfg.c
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-03-08 11:31:35 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-04-21 18:28:54 +0200
commit57e66c5a221f274e40400497be731815d29dca99 (patch)
tree3bdd0e36dd06270b5472d4f736110c864a22600c /ext/ffmpeg/gstffmpegcfg.c
parentea76b437236821e636b59cc6cfe48ff07a769419 (diff)
Make sure we provide ffmpeg with 128bit-aligned data.
Add a new function new_aligned_buffer() which creates a GstBuffer of the requested size/caps, with the memory being allocated/freed by ffmpeg's av_malloc/av_free which guarantees properly aligned memory. Added a can_allocate_aligned internal property which we use to figure out whether downstream can provide us with 128bit aligned buffers.
Diffstat (limited to 'ext/ffmpeg/gstffmpegcfg.c')
0 files changed, 0 insertions, 0 deletions