<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26715</bug_id>
          
          <creation_ts>2014-09-02 10:28:07 +0000</creation_ts>
          <short_desc>[InbandTracks] Mapping into text track cues</short_desc>
          <delta_ts>2014-09-30 12:13:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>Sourcing In-band Media Resource Tracks</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cyril Concolato">cyril.concolato</reporter>
          <assigned_to name="Silvia Pfeiffer">silviapfeiffer1</assigned_to>
          <cc>b.lund</cc>
    
    <cc>hbbtvjon</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>110853</commentid>
    <comment_count>0</comment_count>
    <who name="Cyril Concolato">cyril.concolato</who>
    <bug_when>2014-09-02 10:28:07 +0000</bug_when>
    <thetext>The introduction has confusing wording regardnig text track cues.

The sentence:
&quot;Another generic rule to follow for in-band data tracks is that in order to map them to TextTrack objects, they need to be mapped to media-time aligned cues that relate to a non-zero interval of time. &quot;
Should be rephrased:
&quot;Another generic rule to follow for in-band data tracks is that in order to map them to TextTrack objects, the contents of the track need to be mapped to media-time aligned cues that relate to a non-zero interval of time.&quot;

Then, while the sentence above uses &quot;in-band data tracks&quot; rightfully, the bullet point list below indicates:
&quot;5. Mapping text track content into text track cues.&quot;
which says &quot;text track content&quot;. I would say: 
&quot;5. Mapping track content into text track cues, when applicable.&quot;
You may have binary data mapped onto DataCues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111984</commentid>
    <comment_count>1</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-09-22 22:27:29 +0000</bug_when>
    <thetext>Created pull request:
https://github.com/w3c/HTMLSourcingInbandTracks/pull/22

Please note that in the 5. headings, &quot;Text Track&quot; is the general name for any collection of time-aligned data and/or text cues in HTML, so I&apos;m not renaming that. It merely references the content extracted in step 3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111997</commentid>
    <comment_count>2</comment_count>
    <who name="Cyril Concolato">cyril.concolato</who>
    <bug_when>2014-09-23 06:55:46 +0000</bug_when>
    <thetext>Thanks for the changes. I still think the name of in the heading should be changed. If it talks about a &quot;Text Track&quot; (capital Ts), as your fix suggests, there is no need to map its content to cues because by definition a &quot;Text Track&quot; is made of cues. The mapping is only needed when there is no &quot;Text Track&quot; yet, i.e. when the input is a &quot;text track&quot; or &quot;data track&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111998</commentid>
    <comment_count>3</comment_count>
    <who name="Jon Piesing (HbbTV)">hbbtvjon</who>
    <bug_when>2014-09-23 07:12:53 +0000</bug_when>
    <thetext>I&apos;m confused about the proposed solution.

Why can&apos;t in-band data tracks be mapped to TextTrack objects without exposing Cues? This would be appropriate for data tracks whose payload is decoded by a platform/native media player and never exposed to HTML but where an HTML page may want to control which (if any) in-band data track is presented.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111999</commentid>
    <comment_count>4</comment_count>
    <who name="Cyril Concolato">cyril.concolato</who>
    <bug_when>2014-09-23 07:23:05 +0000</bug_when>
    <thetext>Jon, by which proposed solution are you confused: mine or Silvia&apos;s changes ?

I don&apos;t see a problem in having in-band data tracks be mapped to Text Tracks for the purpose of selecting them. In this case though, there is no cue mapping. Anyway, my comment was not about that aspect but just about changing &quot;text tracks&quot; to &quot;data tracks&quot; which is more generic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112004</commentid>
    <comment_count>5</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-09-23 08:28:42 +0000</bug_when>
    <thetext>Cyril: TextTrackCue objects don&apos;t magically just appear. You have to define what fields in the in-band text/data track are mapped to what fields in the TextTrackCue object. So, mapping to cues is required no matter whether the track is a &quot;data&quot; track or a &quot;text&quot; track. By definition, all time-aligned tracks that are not video or audio are &quot;Text Tracks&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112007</commentid>
    <comment_count>6</comment_count>
    <who name="Cyril Concolato">cyril.concolato</who>
    <bug_when>2014-09-23 08:48:30 +0000</bug_when>
    <thetext>Silvia: sure. I think there is a misunderstanding here. The text is confusing because it talks about &quot;Text Track&quot; and not &quot;text track&quot; or &quot;data track&quot;. To me &quot;Text Track&quot; is the output of the mapping, the HTML 5 object, not the input. I&apos;d simply suggest: 
&quot;Mapping Text Track content into text track cues&quot; should be
&quot;Mapping track content into TextTrackCue objects&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112458</commentid>
    <comment_count>7</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-09-30 12:13:40 +0000</bug_when>
    <thetext>Fixed in https://github.com/w3c/HTMLSourcingInbandTracks/pull/22</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>