Google
  Web www.spinics.net

patch v4l-pvrusb2-keep-mpeg-ptss-from-drifting-away.patch added to 2.6.27-stable tree

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


This is a note to let you know that we have just queued up the patch titled

    Subject: V4L: pvrusb2: Keep MPEG PTSs from drifting away

to the 2.6.27-stable tree.  Its filename is

    v4l-pvrusb2-keep-mpeg-ptss-from-drifting-away.patch

A git repo of this tree can be found at 
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary


>From mkrufky@xxxxxxxxxxx  Tue Nov  4 14:12:51 2008
From: Boris Dores <babal@xxxxxxxxxx>
Date: Sun, 02 Nov 2008 23:04:42 -0500
Subject: V4L: pvrusb2: Keep MPEG PTSs from drifting away
To: stable@xxxxxxxxxx
Cc: Boris Dores <babal@xxxxxxxxxx>, v4l-dvb maintainer list <v4l-dvb-maintainer@xxxxxxxxxxx>, Mike Isely <isely@xxxxxxxxx>, Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
Message-ID: <490E785A.4020302@xxxxxxxxxxx>


From: Boris Dores <babal@xxxxxxxxxx>

cherry picked from commit 3f93d1adca658201c64251c43a147cc79d468c3f

V4L: pvrusb2: Keep MPEG PTSs from drifting away

This change was empirically figured out by Boris Dores after
empirically comparing against behavior in the Windows driver.

Signed-off-by: Mike Isely <isely@xxxxxxxxx>
Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
Signed-off-by: Michael Krufky <mkrufky@xxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

---
 drivers/media/video/pvrusb2/pvrusb2-encoder.c |    4 ++++
 1 file changed, 4 insertions(+)

--- a/drivers/media/video/pvrusb2/pvrusb2-encoder.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-encoder.c
@@ -402,6 +402,10 @@ static int pvr2_encoder_prep_config(stru
 	ret |= pvr2_encoder_vcmd(hdw, CX2341X_ENC_MISC,4, 0,3,0,0);
 	ret |= pvr2_encoder_vcmd(hdw, CX2341X_ENC_MISC,4,15,0,0,0);
 
+	/* prevent the PTSs from slowly drifting away in the generated
+	   MPEG stream */
+	ret |= pvr2_encoder_vcmd(hdw, CX2341X_ENC_MISC, 2, 4, 1);
+
 	return ret;
 }
 


Patches currently in stable-queue which might be from babal@xxxxxxxxxx are

queue-2.6.27/v4l-pvrusb2-keep-mpeg-ptss-from-drifting-away.patch

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

[Linux Media]     [Older V4L]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [SSH]     [Linux USB]

-->
Add to Google Powered by Linux

Google PageRank Checking tool