Skip to content
Snippets Groups Projects
Commit 54290cc6 authored by Ralph Giles's avatar Ralph Giles
Browse files

Update the libtheora_info example for the previous commit.

This example program allocates a minimal encoder context so
it can query settings through th_encode_ctl(). As of r17760
setting the framerate to a non-zero/zero value is required.

svn path=/trunk/theora/; revision=17761
parent ef3c399f
No related branches found
No related tags found
No related merge requests found
......@@ -66,6 +66,8 @@ th_enc_ctx *dummy_encode_ctx(void)
th_info_init(&info);
info.frame_width=320;
info.frame_height=240;
info.fps_numerator=1;
info.fps_denominator=1;
/* allocate and initialize a context object */
ctx = th_encode_alloc(&info);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment