gst_plugins_base/gst-libs/gst/pbutils/missing-plugins.c
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
    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 
    67 #include "gst/gst-i18n-plugin.h"
    71 #include "gst/gst-i18n-plugin.h"
    68 
    72 
    69 #include "pbutils.h"
    73 #include "pbutils.h"
    70 
    74 
    71 #include <string.h>
    75 #include <string.h>
   128   gst_structure_remove_field (s, "palette_data");
   132   gst_structure_remove_field (s, "palette_data");
   129   gst_structure_remove_field (s, "pixel-aspect-ratio");
   133   gst_structure_remove_field (s, "pixel-aspect-ratio");
   130   gst_structure_remove_field (s, "framerate");
   134   gst_structure_remove_field (s, "framerate");
   131   gst_structure_remove_field (s, "leaf_size");
   135   gst_structure_remove_field (s, "leaf_size");
   132   gst_structure_remove_field (s, "packet_size");
   136   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 */
       
   135   /* decoders/encoders almost always handle the usual width/height/channel/rate
   137   /* decoders/encoders almost always handle the usual width/height/channel/rate
   136    * range (and if we don't remove this then the app will have a much harder
   138    * range (and if we don't remove this then the app will have a much harder
   137    * time blacklisting formats it has unsuccessfully tried to install before) */
   139    * time blacklisting formats it has unsuccessfully tried to install before) */
   138   gst_structure_remove_field (s, "width");
   140   gst_structure_remove_field (s, "width");
   139   gst_structure_remove_field (s, "depth");
       
   140   gst_structure_remove_field (s, "height");
   141   gst_structure_remove_field (s, "height");
   141   gst_structure_remove_field (s, "channels");
   142   gst_structure_remove_field (s, "channels");
   142   gst_structure_remove_field (s, "rate");
   143   gst_structure_remove_field (s, "rate");
   143   /* rtp fields */
   144   /* rtp fields */
   144   gst_structure_remove_field (s, "config");
   145   gst_structure_remove_field (s, "config");
   148   gst_structure_remove_field (s, "seqnum-base");
   149   gst_structure_remove_field (s, "seqnum-base");
   149   gst_structure_remove_field (s, "npt-start");
   150   gst_structure_remove_field (s, "npt-start");
   150   gst_structure_remove_field (s, "npt-stop");
   151   gst_structure_remove_field (s, "npt-stop");
   151   gst_structure_remove_field (s, "play-speed");
   152   gst_structure_remove_field (s, "play-speed");
   152   gst_structure_remove_field (s, "play-scale");
   153   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 
       
   522 gchar *
   521 gchar *
   523 gst_missing_plugin_message_get_description (GstMessage * msg)
   522 gst_missing_plugin_message_get_description (GstMessage * msg)
   524 {
   523 {
   525   GstMissingType missing_type;
   524   GstMissingType missing_type;
   526   const gchar *desc;
   525   const gchar *desc;