[vlc-devel] commit: Of course, L16 has two bytes per sample... ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Jun 11 20:42:15 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Jun 11 21:44:05 2008 +0300| [6cd917a9a69da17bcc2f477dbaaaa1c3cb38842c]

Of course, L16 has two bytes per sample...

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6cd917a9a69da17bcc2f477dbaaaa1c3cb38842c
---

 modules/stream_out/rtp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index 2ace05a..8ce770f 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -1006,7 +1006,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
             }
             id->psz_enc = "L16";
             id->pf_packetize = rtp_packetize_split;
-            rtp_set_ptime (id, 20, 1);
+            rtp_set_ptime (id, 20, 2);
             break;
         case VLC_FOURCC( 'u', '8', ' ', ' ' ):
             id->psz_enc = "L8";




More information about the vlc-devel mailing list