mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 21:28:08 +00:00
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:
parent
a47746383c
commit
64372add3e
1 changed files with 1 additions and 7 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue