[gst-devel] RE : [PATCH] set amr encoder / decoder caps to x-amr-nb

SP GLE spglegle at yahoo.fr
Wed Oct 25 11:58:22 CEST 2006


Thank you for these patch, attached are the same modifications
incremented of changes, list of targeted elements for modifications are
 :
rtpamrdepay
rtpamrpay

amrwbparse
amrwbdec
amrwbenc
qtdemux

amrnbparse
amrnbdec
amrnbenc

Thanks for everything.

--- Benoit Fouet <benoit.fouet at purplelabs.com> a écrit :

> Hi,
> 
> following a mail on the list with a problem on amr nb capabilities,
> here
> is a trivial patch against CVS head to set them to x-amr-nb.
> Note: i'm used to sending patches to lists, but if it is not the
> right
> method with GStreamer, please let me know :)
> 
> -- Ben
> 
> Index: docs/random/ChangeLog-0.8
> ===================================================================
> RCS file: /cvs/gstreamer/gst-plugins-ugly/docs/random/ChangeLog-0.8,v
> retrieving revision 1.1
> diff -r1.1 ChangeLog-0.8
> 0a1,8
> > 2006-10-25  Benoit Fouet <benoit.fouet at purplelabs.com>
> >
> >       * ext/amrnb/amrnbdec.c:
> >       * ext/amrnb/amrnbenc.c: (gst_amrnbenc_setcaps):
> >       * ext/amrnb/amrnbparse.c:
> >       Update caps with audio/x-amr-nb.
> >
> >
> Index: ext/amrnb/amrnbdec.c
> ===================================================================
> RCS file: /cvs/gstreamer/gst-plugins-ugly/ext/amrnb/amrnbdec.c,v
> retrieving revision 1.13
> diff -r1.13 amrnbdec.c
> 29c29
> <     GST_STATIC_CAPS ("audio/AMR, " "rate = (int) 8000, " "channels
> =
> (int) 1")
> ---
> >     GST_STATIC_CAPS ("audio/x-amr-nb, " "rate = (int) 8000, "
> "channels = (int) 1")
> Index: ext/amrnb/amrnbenc.c
> ===================================================================
> RCS file: /cvs/gstreamer/gst-plugins-ugly/ext/amrnb/amrnbenc.c,v
> retrieving revision 1.13
> diff -r1.13 amrnbenc.c
> 40c40
> <     GST_STATIC_CAPS ("audio/AMR, " "rate = (int) 8000, " "channels
> =
> (int) 1")
> ---
> >     GST_STATIC_CAPS ("audio/x-amr-nb, " "rate = (int) 8000, "
> "channels = (int) 1")
> 170c170
> <   copy = gst_caps_new_simple ("audio/AMR",
> ---
> >   copy = gst_caps_new_simple ("audio/x-amr-nb",
> Index: ext/amrnb/amrnbparse.c
> ===================================================================
> RCS file: /cvs/gstreamer/gst-plugins-ugly/ext/amrnb/amrnbparse.c,v
> retrieving revision 1.15
> diff -r1.15 amrnbparse.c
> 34c34
> <     GST_STATIC_CAPS ("audio/AMR, " "rate = (int) 8000, " "channels
> =
> (int) 1")
> ---
> >     GST_STATIC_CAPS ("audio/x-amr-nb, " "rate = (int) 8000, "
> "channels = (int) 1")
> Index: tests/check/elements/amrnbenc.c
> ===================================================================
> RCS file:
> /cvs/gstreamer/gst-plugins-ugly/tests/check/elements/amrnbenc.c,v
> retrieving revision 1.2
> diff -r1.2 amrnbenc.c
> 27c27
> < #define SINK_CAPS "audio/AMR"
> ---
> > #define SINK_CAPS "audio/x-amr-nb"
> 
> 
>
-------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 


	

	
		
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gst-plugins-bad_amrCaps.patch
Type: text/x-patch
Size: 1379 bytes
Desc: 3585952963-gst-plugins-bad_amrCaps.patch
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20061025/e73040d4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gst-plugins-good_amrCaps.patch
Type: text/x-patch
Size: 881 bytes
Desc: 3623276685-gst-plugins-good_amrCaps.patch
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20061025/e73040d4/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gst-plugins-ugly_amrCaps.patch
Type: text/x-patch
Size: 1579 bytes
Desc: 1159448871-gst-plugins-ugly_amrCaps.patch
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20061025/e73040d4/attachment-0002.bin>


More information about the gstreamer-devel mailing list