Am Freitag, 18. Mai 2007 00:32 schrieb Stone:
> On 5/18/07, Stone <[EMAIL PROTECTED]> wrote:
> > > If you take 30 frames per sec for NTSC-recordings, you will have 1 / 30
> > > *
> > > 90000 = 3000 PTS-ticks. So you should try 3005 for the PTS-threshold.
> > > Am I
> > > right, that you talk about the gap finder? Please let me know, if that
> > > threshold worked.
> >
> > Thank you.  Yes, the gap finder is what I am interested in. Previously,
> > if i had several cuts in some recordings, the PTS would become desynced
> > in the final cut and Vdrsync would no longer be able to demux the
> > recordings without having to drop many frames.
>
> Sorry, I forgot to ask one more thing.  Do you have a patch for vdr-1.5.x?
>
> ccache g++-3.4 -g -O2 -Wall -Woverloaded-virtual -fPIC -c -D_GNU_SOURCE
> -DPLUGIN_NAME_I18N='"cutalot"' -I/usr/src/DVB/linux/include
> -I../../../include cutalot.c
> ccache g++-3.4 -g -O2 -Wall -Woverloaded-virtual -fPIC -c -D_GNU_SOURCE
> -DPLUGIN_NAME_I18N='"cutalot"' -I/usr/src/DVB/linux/include
> -I../../../include cal-cutter.c
> In file included from cal-cutter.c:11:
> cal-mpeg.h:11: error: `uint64' does not name a type
> cal-mpeg.h:35: error: `pts_t' does not name a type
> cal-mpeg.h:36: error: `pts_t' does not name a type
> cal-mpeg.h:38: error: `pts_t' has not been declared
> cal-mpeg.h:38: error: ISO C++ forbids declaration of `Pts' with no type
> cal-mpeg.h:44: error: `pts_t' was not declared in this scope
> cal-mpeg.h:44: error: expected primary-expression before "bool"
> cal-mpeg.h:45: error: `pts_t' was not declared in this scope
> cal-mpeg.h:45: error: expected primary-expression before "bool"
> cal-cutter.c: In member function `virtual void
> cCalCuttingThread::Action()': cal-cutter.c:184: error: `pts_t' was not
> declared in this scope
> cal-cutter.c:184: error: expected `;' before "iFramePts"
> cal-cutter.c:221: error: `iFramePts' was not declared in this scope
> cal-cutter.c:221: error: 'class cCalPES' has no member named 'GetPTS'
> cal-cutter.c:222: error: `newIFramePts' was not declared in this scope
> cal-cutter.c:222: warning: unused variable 'newIFramePts'
> cal-cutter.c:223: error: `newIFramePts' was not declared in this scope
> cal-cutter.c:231: error: 'class cCalPES' has no member named 'GetPTS'
> cal-cutter.c:231: error: `iFramePts' was not declared in this scope
> cal-cutter.c:234: error: `newIFramePts' was not declared in this scope
> cal-cutter.c:237: error: `newPts' was not declared in this scope
> cal-cutter.c:237: warning: unused variable 'newPts'
> cal-cutter.c:239: error: `newPts' was not declared in this scope
> cal-cutter.c:239: warning: unused variable 'newPts'
> cal-cutter.c:241: error: `newPts' was not declared in this scope
> cal-cutter.c:241: warning: unused variable 'newPts'
> cal-cutter.c:244: error: `newPts' was not declared in this scope
> cal-cutter.c:231: warning: unused variable 'iFramePts'
> cal-cutter.c:244: warning: unused variable 'newPts'
> cal-cutter.c:184: warning: unused variable 'pts_t'
> make[1]: *** [cal-cutter.o] Error 1
>
>
> Best Regards.

Didn't check it out, but it seems that VDR-1.5 doesn't use uint64 as a type 
any more. You could try changing line 11 of cal-mpeg.h from

typedef uint64 pts_t;

to

typedef unsigned long long int pts_t;

Please let me know, if that helped out. :o)



DMH


_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to