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