gst_plugins_base/gst-libs/gst/pbutils/missing-plugins.c
branchRCL_3
changeset 29 567bb019e3e3
parent 0 0e761a78d257
child 30 7e817e7e631c
equal deleted inserted replaced
6:9b2c3c7a1a9c 29:567bb019e3e3
    62 #endif
    62 #endif
    63 #ifdef HAVE_PROCESS_H
    63 #ifdef HAVE_PROCESS_H
    64 # include <process.h>           /* getpid on win32 */
    64 # include <process.h>           /* getpid on win32 */
    65 #endif
    65 #endif
    66 
    66 
    67 #ifdef __SYMBIAN32__
       
    68 #include <gst_global.h>
       
    69 #endif
       
    70 
       
    71 #include "gst/gst-i18n-plugin.h"
    67 #include "gst/gst-i18n-plugin.h"
    72 
    68 
    73 #include "pbutils.h"
    69 #include "pbutils.h"
    74 
    70 
    75 #include <string.h>
    71 #include <string.h>
   132   gst_structure_remove_field (s, "palette_data");
   128   gst_structure_remove_field (s, "palette_data");
   133   gst_structure_remove_field (s, "pixel-aspect-ratio");
   129   gst_structure_remove_field (s, "pixel-aspect-ratio");
   134   gst_structure_remove_field (s, "framerate");
   130   gst_structure_remove_field (s, "framerate");
   135   gst_structure_remove_field (s, "leaf_size");
   131   gst_structure_remove_field (s, "leaf_size");
   136   gst_structure_remove_field (s, "packet_size");
   132   gst_structure_remove_field (s, "packet_size");
       
   133   gst_structure_remove_field (s, "block_align");
       
   134   gst_structure_remove_field (s, "metadata-interval");  /* icy caps */
   137   /* decoders/encoders almost always handle the usual width/height/channel/rate
   135   /* decoders/encoders almost always handle the usual width/height/channel/rate
   138    * range (and if we don't remove this then the app will have a much harder
   136    * range (and if we don't remove this then the app will have a much harder
   139    * time blacklisting formats it has unsuccessfully tried to install before) */
   137    * time blacklisting formats it has unsuccessfully tried to install before) */
   140   gst_structure_remove_field (s, "width");
   138   gst_structure_remove_field (s, "width");
       
   139   gst_structure_remove_field (s, "depth");
   141   gst_structure_remove_field (s, "height");
   140   gst_structure_remove_field (s, "height");
   142   gst_structure_remove_field (s, "channels");
   141   gst_structure_remove_field (s, "channels");
   143   gst_structure_remove_field (s, "rate");
   142   gst_structure_remove_field (s, "rate");
   144   /* rtp fields */
   143   /* rtp fields */
   145   gst_structure_remove_field (s, "config");
   144   gst_structure_remove_field (s, "config");
   149   gst_structure_remove_field (s, "seqnum-base");
   148   gst_structure_remove_field (s, "seqnum-base");
   150   gst_structure_remove_field (s, "npt-start");
   149   gst_structure_remove_field (s, "npt-start");
   151   gst_structure_remove_field (s, "npt-stop");
   150   gst_structure_remove_field (s, "npt-stop");
   152   gst_structure_remove_field (s, "play-speed");
   151   gst_structure_remove_field (s, "play-speed");
   153   gst_structure_remove_field (s, "play-scale");
   152   gst_structure_remove_field (s, "play-scale");
       
   153   gst_structure_remove_field (s, "dynamic_range");
   154 
   154 
   155   return ret;
   155   return ret;
   156 }
   156 }
   157 
   157 
   158 /**
   158 /**
   516  *          string with g_free() when not needed any longer.
   516  *          string with g_free() when not needed any longer.
   517  */
   517  */
   518 #ifdef __SYMBIAN32__
   518 #ifdef __SYMBIAN32__
   519 EXPORT_C
   519 EXPORT_C
   520 #endif
   520 #endif
       
   521 
   521 gchar *
   522 gchar *
   522 gst_missing_plugin_message_get_description (GstMessage * msg)
   523 gst_missing_plugin_message_get_description (GstMessage * msg)
   523 {
   524 {
   524   GstMissingType missing_type;
   525   GstMissingType missing_type;
   525   const gchar *desc;
   526   const gchar *desc;