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 /** |