X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fmatroska%2Fmatroska-ids.c;h=8e6239594aed1a5fae50b646bf1289ce1b8b18be;hb=04b4d30f2cf7f8196703e14647cbb88b7ec1ad37;hp=db8261ab3af0c8b198f6ef99b95dab2413483894;hpb=45c10ca9de093be4a2a7023b3ce121515a300ce3;p=platform%2Fupstream%2Fgst-plugins-good.git diff --git a/gst/matroska/matroska-ids.c b/gst/matroska/matroska-ids.c index db8261a..8e62395 100644 --- a/gst/matroska/matroska-ids.c +++ b/gst/matroska/matroska-ids.c @@ -53,9 +53,10 @@ gst_matroska_track_init_video_context (GstMatroskaTrackContext ** p_context) video_context->display_height = 0; video_context->pixel_width = 0; video_context->pixel_height = 0; - video_context->eye_mode = 0; video_context->asr_mode = 0; video_context->fourcc = 0; + video_context->default_fps = 0.0; + video_context->earliest_time = GST_CLOCK_TIME_NONE; return TRUE; } @@ -106,27 +107,12 @@ gst_matroska_track_init_subtitle_context (GstMatroskaTrackContext ** p_context) (*p_context)->type = GST_MATROSKA_TRACK_TYPE_SUBTITLE; subtitle_context->invalid_utf8 = FALSE; + subtitle_context->seen_markup_tag = FALSE; return TRUE; } -gboolean -gst_matroska_track_init_complex_context (GstMatroskaTrackContext ** p_context) +void +gst_matroska_register_tags (void) { - GstMatroskaTrackComplexContext *complex_context; - - g_assert (p_context != NULL && *p_context != NULL); - - /* already set up? (track info might come before track type) */ - if ((*p_context)->type == GST_MATROSKA_TRACK_TYPE_COMPLEX) - return TRUE; - - /* it better not have been set up as some other track type ... */ - if ((*p_context)->type != 0) { - g_return_val_if_reached (FALSE); - } - - complex_context = g_renew (GstMatroskaTrackComplexContext, *p_context, 1); - *p_context = (GstMatroskaTrackContext *) complex_context; - (*p_context)->type = GST_MATROSKA_TRACK_TYPE_COMPLEX; - return TRUE; + /* TODO: register other custom tags */ }