]> granicus.if.org Git - handbrake/commitdiff
initialize title->angle_count to 1
authorjstebbins <jstebbins.hb@gmail.com>
Tue, 1 Mar 2011 00:06:41 +0000 (00:06 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Tue, 1 Mar 2011 00:06:41 +0000 (00:06 +0000)
sources that don't support multiple angles should default to 1

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3821 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/common.c

index 6b1d830a382a02db4a135f58a374733c2f76fbb0..06fb006458059a8922420e495d647471bd534da2 100644 (file)
@@ -1032,6 +1032,7 @@ hb_title_t * hb_title_init( char * path, int index )
     // default to decoding mpeg2
     t->video_id      = 0xE0;
     t->video_codec   = WORK_DECMPEG2;
+    t->angle_count   = 1;
 
     return t;
 }