vdr-xine-0.9.2 plugin does not support cutting.

Message ID 4A1DB668.2050701@gmx.de
State New
Headers

Commit Message

Reinhard Nissl May 27, 2009, 9:53 p.m. UTC
  Hi,

Carsten Koch schrieb:

> I noticed, however, that it is extremely hard to use VDRs 
> cutting function with it.
> 
> For example, when I use the '7' and '9' keys to jump to the
> previous/next cut mark, or when I use the '4' and '6' keys to
> fine-position a cut mark, the video image is not updated, so I
> am basically forced to navigate in complete darkness.
> 
> Is that a known bug?

Well, yes, but I didn't find time to look into a sample till
tonight. Please find attached the fix, at least for the sample I
was working with.

Bye.
  

Comments

dplu May 30, 2009, 8:46 a.m. UTC | #1
Hi

Many thanks for the fix, it works perfectly ;o) 
Have a nice day

Dom

Le Wednesday 27 May 2009 23:53:44 Reinhard Nissl, vous avez écrit :
> Hi,
>
> Carsten Koch schrieb:
> > I noticed, however, that it is extremely hard to use VDRs
> > cutting function with it.
> >
> > For example, when I use the '7' and '9' keys to jump to the
> > previous/next cut mark, or when I use the '4' and '6' keys to
> > fine-position a cut mark, the video image is not updated, so I
> > am basically forced to navigate in complete darkness.
> >
> > Is that a known bug?
>
> Well, yes, but I didn't find time to look into a sample till
> tonight. Please find attached the fix, at least for the sample I
> was working with.
>
> Bye.
  

Patch

--- ../xine-0.9.2/xineDevice.c	2009-05-03 20:56:36.000000000 +0200
+++ xineDevice.c	2009-05-27 23:46:36.000000000 +0200
@@ -1258,6 +1258,8 @@  if (0)
 FILE *ff = fopen("/tmp/still.ts", "wb");
 fwrite(tsData, 1, tsLength, ff);
 fwrite(tsTail, 1, TS_SIZE, ff);
+fclose(ff);
+}
 
         vRemux->Put(tsTail, TS_SIZE);
 
@@ -1270,8 +1272,6 @@  fwrite(tsTail, 1, TS_SIZE, ff);
           vRemux->Del(n);
         }
 
-fclose(ff);
-}
 if (0)
 {
 FILE *ff = fopen("/tmp/still.pes", "wb");