remove useless code and add testing code

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@169 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
aymeric 2008-11-11 13:52:06 +00:00
parent a47746383c
commit 64372add3e

View file

@ -56,11 +56,7 @@ int main(int argc, char *argv[]){
if (vs) video_stream_iterate(vs);
#endif
#if 0 /* test code */
if (n==300)
{
ms_filter_call_method_noarg (vs->source, MS_V4L_STOP);
}
/* test code */
if (n==400)
{
ms_ticker_detach (vs->ticker, vs->source);
@ -110,10 +106,8 @@ int main(int argc, char *argv[]){
ms_filter_link(vs->pixconv,0, vs->output,0);
//ms_filter_unlink(vs->tee,0,vs->output,0);
ms_ticker_attach (vs->ticker, vs->source);
}
#endif
}
video_preview_stop(vs);
}