Mercurial > mplayer.hg
comparison stream/tvi_v4l2.c @ 23979:33928da6ba62
Added missing newline.
author | cehoyos |
---|---|
date | Fri, 03 Aug 2007 10:57:49 +0000 |
parents | 657236b9eacb |
children | 9e71e0345c35 |
comparison
equal
deleted
inserted
replaced
23978:ef6e50c3c172 | 23979:33928da6ba62 |
---|---|
662 mp_msg(MSGT_TV,MSGL_V,"vbi: vbi capture thread started.\n"); | 662 mp_msg(MSGT_TV,MSGL_V,"vbi: vbi capture thread started.\n"); |
663 | 663 |
664 while (!priv->vbi_shutdown){ | 664 while (!priv->vbi_shutdown){ |
665 bytes=read(priv->vbi_fd,buf,tsp.bufsize); | 665 bytes=read(priv->vbi_fd,buf,tsp.bufsize); |
666 if (bytes!=tsp.bufsize){ | 666 if (bytes!=tsp.bufsize){ |
667 mp_msg(MSGT_TV,MSGL_WARN,"vbi: expecting bytes: %d, got: %d",tsp.bufsize,bytes); | 667 mp_msg(MSGT_TV,MSGL_WARN,"vbi: expecting bytes: %d, got: %d\n",tsp.bufsize,bytes); |
668 break; | 668 break; |
669 } | 669 } |
670 seq=*(int*)(buf+bytes-4); | 670 seq=*(int*)(buf+bytes-4); |
671 if(seq<=1) continue; | 671 if(seq<=1) continue; |
672 if (prev_seq && seq!=prev_seq+1){ | 672 if (prev_seq && seq!=prev_seq+1){ |