summaryrefslogtreecommitdiff
authorke.gong <ke.gong@amlogic.com>2012-08-09 08:09:19 (GMT)
committer ke.gong <ke.gong@amlogic.com>2012-08-09 08:09:19 (GMT)
commit95034f2255e138f5ca89af264f0992e2c3ad4936 (patch)
tree705a8c0c576dee7c1a2f9b0418bf5e445bd103cc
parentdaed3ec8a6595e030ab81f42ebc73f1ccb08c936 (diff)
downloadlibzvbi-95034f2255e138f5ca89af264f0992e2c3ad4936.zip
libzvbi-95034f2255e138f5ca89af264f0992e2c3ad4936.tar.gz
libzvbi-95034f2255e138f5ca89af264f0992e2c3ad4936.tar.bz2
disable dsync in vbi_decode
Diffstat
-rw-r--r--src/vbi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vbi.c b/src/vbi.c
index 839eeb1..687a02f 100644
--- a/src/vbi.c
+++ b/src/vbi.c
@@ -435,6 +435,8 @@ vbi_decode(vbi_decoder *vbi, vbi_sliced *sliced, int lines, double time)
fprintf(stderr, "vbi frame/s dropped at %f, D=%f\n",
time, time - vbi->time);
+/*Disable desync by GK*/
+#if 0
if (vbi->event_mask & (VBI_EVENT_TTX_PAGE |
VBI_EVENT_NETWORK |
VBI_EVENT_NETWORK_ID))
@@ -443,6 +445,7 @@ vbi_decode(vbi_decoder *vbi, vbi_sliced *sliced, int lines, double time)
VBI_EVENT_NETWORK |
VBI_EVENT_NETWORK_ID))
vbi_caption_desync(vbi);
+#endif
} else {
pthread_mutex_lock(&vbi->chswcd_mutex);