linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] SOLO6x10: Fix video frame type (I/P/B).
@ 2013-10-07 11:33 Krzysztof Hałasa
  2013-11-05 22:15 ` Ismael Luceno
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Hałasa @ 2013-10-07 11:33 UTC (permalink / raw)
  To: linux-media; +Cc: Hans Verkuil, ismael.luceno

Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl>

diff --git a/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c b/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c
index 7a2fd98..27e9a0a 100644
--- a/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c
+++ b/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c
@@ -506,6 +506,7 @@ static int solo_fill_mpeg(struct solo_enc_dev *solo_enc,
 		return -EIO;
 
 	/* If this is a key frame, add extra header */
+	vb->v4l2_buf.flags &= ~(V4L2_BUF_FLAG_KEYFRAME | V4L2_BUF_FLAG_PFRAME | V4L2_BUF_FLAG_BFRAME);
 	if (!vop_type(vh)) {
 		skip = solo_enc->vop_len;
 		vb->v4l2_buf.flags |= V4L2_BUF_FLAG_KEYFRAME;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] SOLO6x10: Fix video frame type (I/P/B).
  2013-10-07 11:33 [PATCH] SOLO6x10: Fix video frame type (I/P/B) Krzysztof Hałasa
@ 2013-11-05 22:15 ` Ismael Luceno
  0 siblings, 0 replies; 2+ messages in thread
From: Ismael Luceno @ 2013-11-05 22:15 UTC (permalink / raw)
  To: Krzysztof Hałasa; +Cc: linux-media, Hans Verkuil

[-- Attachment #1: Type: text/plain, Size: 206 bytes --]

On Mon, 07 Oct 2013 13:33:55 +0200
khalasa@piap.pl (Krzysztof Hałasa) wrote:
> Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl>

Acked-by: Ismael Luceno <ismael.luceno@corp.bluecherry.net>

<...>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-05 22:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-07 11:33 [PATCH] SOLO6x10: Fix video frame type (I/P/B) Krzysztof Hałasa
2013-11-05 22:15 ` Ismael Luceno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).