summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2013-05-23 18:17:05 +0100
committerTim Redfern <tim@eclectronics.org>2013-05-23 18:17:05 +0100
commit493b87d7c8f8872a19bbb0347daf61cc5b24f578 (patch)
tree62134f02bf0ed99a859f5113842ea987f8a74dfb
parente2d7302cc5e8630bfc08589107b9140b09c80a5d (diff)
configure IO directories
-rw-r--r--rotord/libavexporter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rotord/libavexporter.h b/rotord/libavexporter.h
index 03b7580..deb71ab 100644
--- a/rotord/libavexporter.h
+++ b/rotord/libavexporter.h
@@ -417,6 +417,9 @@ namespace libav {
}
*/
//always convert RGB to YUV
+ //should be context allocated once per render instead of per frame??
+ //
+ //
sws_ctx = sws_getContext(c->width, c->height, AV_PIX_FMT_RGB24,
c->width, c->height, AV_PIX_FMT_YUV420P,
sws_flags, NULL, NULL, NULL);