projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
More SDL updates
[melted]
/
src
/
framework
/
mlt_frame.c
diff --git
a/src/framework/mlt_frame.c
b/src/framework/mlt_frame.c
index
5eacb94
..
d1f6913
100644
(file)
--- a/
src/framework/mlt_frame.c
+++ b/
src/framework/mlt_frame.c
@@
-184,8
+184,8
@@
int mlt_frame_get_image( mlt_frame this, uint8_t **buffer, mlt_image_format *for
uint8_t *q;
test_card.vfmt = *format;
- test_card.width = 720;
- test_card.height = 576;
+ test_card.width = *width == 0 ? 720 : *width;
+ test_card.height = *height == 0 ? 576 : *height;
switch( *format )
{