Re: [ANNOUNCE] VDR developer version 1.7.17

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28.03.2011 11:24, Tim wrote:
Am Samstag, 19. März 2011, um 13:02:02 schrieb Klaus Schmidinger:
- Fixed detecting frames on channels that broadcast with 50 or 60 fps.

I just made a recording from "arte HD" with VDR 1.7.17 and everything
worked fine. It played correctly (on a TT-S2 6400 prototype), the current
and total times displayed by the progress display were correct and I was
able to place and move an editing mark with the picture getting updated
just fine.

For me the frame detection works fine, but still the wrong framerate is written
to the info file (always F 25 is written there).
Maybe some nasty patch is breaking this for me, but i don't find it. Is this
really working correct for you?
Can you give me a hint where the information is transferred from the
cFrameDetector to cRecordingInfo?


void cRecorder::Action(void)
{
  ...
              if (frameDetector->Synced()) {
                 if (!InfoWritten) {
                    cRecordingInfo RecordingInfo(recordingName);
                    if (RecordingInfo.Read()) {
                       if (frameDetector->FramesPerSecond() > 0 && !DoubleEqual(RecordingInfo.FramesPerSecond(), frameDetector->FramesPerSecond())) {
                          RecordingInfo.SetFramesPerSecond(frameDetector->FramesPerSecond());
                          RecordingInfo.Write();
                          Recordings.UpdateByName(recordingName);
                          }
                       }
                    InfoWritten = true;
                    }


Klaus

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



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux