[gst-cvs] gst-ffmpeg: gstffmpegmux: Use the AVFormat long_name in our descriptions.

Edward Hervey bilboed at kemper.freedesktop.org
Thu Apr 16 01:24:19 PDT 2009


Module: gst-ffmpeg
Branch: master
Commit: d39ad81ad718abe3276112645e0acbfc1b369939
URL:    http://cgit.freedesktop.org/gstreamer/gst-ffmpeg/commit/?id=d39ad81ad718abe3276112645e0acbfc1b369939

Author: Edward Hervey <bilboed at bilboed.com>
Date:   Wed Apr 15 22:04:02 2009 +0200

gstffmpegmux: Use the AVFormat long_name in our descriptions.

This is the same behaviour we use in the demuxers.

---

 ext/ffmpeg/gstffmpegmux.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ext/ffmpeg/gstffmpegmux.c b/ext/ffmpeg/gstffmpegmux.c
index e1324f0..9bb22b3 100644
--- a/ext/ffmpeg/gstffmpegmux.c
+++ b/ext/ffmpeg/gstffmpegmux.c
@@ -153,11 +153,11 @@ gst_ffmpegmux_base_init (gpointer g_class)
   g_assert (params != NULL);
 
   /* construct the element details struct */
-  details.longname = g_strdup_printf ("FFMPEG %s Muxer",
-      params->in_plugin->name);
+  details.longname = g_strdup_printf ("FFMPEG %s muxer",
+      params->in_plugin->long_name);
   details.klass = g_strdup ("Codec/Muxer");
-  details.description = g_strdup_printf ("FFMPEG %s Muxer",
-      params->in_plugin->name);
+  details.description = g_strdup_printf ("FFMPEG %s muxer",
+      params->in_plugin->long_name);
   details.author = "Wim Taymans <wim.taymans at chello.be>, "
       "Ronald Bultje <rbultje at ronald.bitfreak.net>";
   gst_element_class_set_details (element_class, &details);





More information about the Gstreamer-commits mailing list